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
Type: Posts; User: Martas
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
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
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;...
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...