2 Nov
2011
2 Nov
'11
23:57
The real issue here is that C uses zero-base-index arrays Yes there were 5 arguments in the example argv[0] is the name of the program and argv[1..4] were the parameters. That is why you count from 1 .. argc-1 as opposed to 0 .. argc. The zero-base-index arrays of C have caught many people out. -- Man's mind once stretched by a new idea, never regains its original dimension. -- Oliver Wendell Holmes. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org