Search:

Type: Posts; User: JRoosh

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,215

    what specific aspect are you stuck on? and please...

    what specific aspect are you stuck on? and please don't say the whole thing.
  2. Replies
    4
    Views
    1,829

    you might need #include also you...

    you might need #include <string.h>

    also you need to declare the variable 'string' if you haven't already, char sintrg[ 10 ] = "thestring";
  3. Replies
    3
    Views
    2,163

    edit: sorry, i misread your original post. i...

    edit: sorry, i misread your original post. i don't believe you can capture a pid started through a call to system().

    then again, on a Unix system you can make a system() call to "ps -aux", capture...
  4. Replies
    4
    Views
    10,506

    a call by value passes only the-value-of a...

    a call by value passes only the-value-of a variable, while a call by reference passes a reference (address usually) to a variable so that it's value can be altered
  5. Replies
    7
    Views
    10,890

    fyi: no-one's code is actually right. in this...

    fyi: no-one's code is actually right. in this case char **argv and char *argv[] accomplish the same thing. char* argv[] just means an array of character pointers, each pointer being the base address...
Results 1 to 5 of 5