Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by namratalimaye

  1. namratalimaye

    Segmentation fault (core dumped)

    To know the line which is causing error, use GDB. it's availabe on www.sunfreeware.com. After downloading and running gdb in the same dir. in which ur file exists, u'll get a gdb prompt. give the following commands: gdb> file filename gdb> run gdb> backtrace these series of commands shall show...
  2. namratalimaye

    How do you a directory list, and load the filenames into an array?

    declare a char pointer char *command="dir/b c:\directory>a.txt"; ststem(command); the system command runs the commands that run on DOS prompt. the redirection operator redirects the o/p to the file a.txt. dir/b lists all files in a dir without any description. include stdlib.h or...
  3. namratalimaye

    Using mq_open to send and receive messages

    The first char of the name of the string that describes message Q should be a '/' so u shud write it as "/myque" and any other char. in the string cannot be a '/'. Also see the man page on mq_open to ge more information. Regards Nam
  4. namratalimaye

    Can anyone tell me how to use mq_no

    Can anyone tell me how to use mq_notify() in gcc with an example?
  5. namratalimaye

    plaaaaaaaeassssseeee help me!!! reading a directory

    DECLARE A CHAR POINTER AS: char *command = "dir/b c:\\files >a.txt"; system(command); here dir/b is a DOS command to list all files in a dir without description! "files" is the directory which needs to be read and "a.txt" is the file in which the output i.e. the...

Part and Inventory Search

Back
Top