|
how about you look at a C manual for a start? ideas such as this a pretty fundamental to C, getting to grips with them is a must.
anyway... you get the main(int argc, char **argv) line, so argc is teh number of parameters or whatever, and the argv is a pointer to the array of parameters. just access those two vairables and pull out the data you need and go willd with fopen() and such like
|