Search:

Type: Posts; User: TwistedMetal

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    12,734

    *** stack smashing detected ***

    Hi all,

    Does anybody has some idea why this piece of code



    int setIP(char fName[100])
    {
    FILE *pipein_fp;
    char readbuf[100];
  2. Replies
    10
    Views
    12,734

    Thanks Robwhit. Can somebody provide some help...

    Thanks Robwhit.

    Can somebody provide some help regarding finding the IP Address please.
  3. Replies
    10
    Views
    12,734

    Find IP of the host

    I was interested to know if there is some more elegent way to get the IP Address of the host other then firing ifconfig through popen and then parsing the string to get the IP.

    I googled around...
  4. Replies
    10
    Views
    12,734

    Thanks a lot for your help. I have finally...

    Thanks a lot for your help. I have finally constructed the following code snipet which works fine. As i am a beginner i post it here hoping for the betterment of the code.



    FILE...
  5. Replies
    10
    Views
    12,734

    redirect console output to a String?

    Hi all,

    I am new to C and am writing a small application in C. One part of it is to fire some system commands and store the output in some variable.

    A small example of what i wanna do:


    ...
Results 1 to 5 of 5