Search:

Type: Posts; User: Martas

Search: Search took 0.02 seconds.

  1. Thread: argc, argv

    by Martas
    Replies
    6
    Views
    6,506

    I tried to write out contents of argv in Xping...

    I tried to write out contents of argv in Xping before it return to main and result is this.


    ARGc: 6
    ARGV[0]: ./program
    ARGV[1]: 192.168.1.103
    ARGV[2]: -s
    ARGV[3]: 32
    ARGV[4]: -c
    ARGV[5]: 5
  2. Thread: argc, argv

    by Martas
    Replies
    6
    Views
    6,506

    It is ok like that. And i think that it really...

    It is ok like that. And i think that it really doesnt metter that array take like a one string and "dont care" what is inside but anyway i try to change but without any effect
  3. Thread: argc, argv

    by Martas
    Replies
    6
    Views
    6,506

    yea i thought like that also. And i already tried...

    yea i thought like that also. And i already tried to do it like that but result was same... Here is the code of that Xping function


    Xping(int argc, char *argv[])

    {

    struct timeval timeout;...
  4. Thread: argc, argv

    by Martas
    Replies
    6
    Views
    6,506

    argc, argv

    Hi everyone,

    i have this problem. im using in my program input variables argc and argv. when im firstime start program with some input parameters which fill out argv everything is ok (BTW : argc...
Results 1 to 4 of 4