Mail Archives: djgpp/1995/06/28/23:41:20
softbrek AT hathi DOT informatik DOT rwth-aachen DOT de (Hans-Bernhard Broeker) writes:
> And, in addition to that, you should change your for loop to read
>
> for (c=0; c < argc; c++)
>
> because, like all arrays in C, **argv is zero-based.
Except that, in ANSI C, argv[0] is the name of the program, and argc
is always >= 1.
Erik Max Francis, &tSftDotIotE ...!uuwest!alcyone!max max AT alcyone DOT darkside DOT com
San Jose, CA GIGO, Omega, Psi, Universe ICBM: 37 20 07 N 121 53 38 W _
H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`- ftmfbs ccpm mc2 / \
Omnia quia sunt, lumina sunt. ("All things that are, are lights.") -><- \_/
- Raw text -