Registered user now..
Anyways.. back to the issue.. want to read command line input and then creat full class C network list from the input. EX.
./executable 192.168.10
creates file NETWORK-192.168.100 with all address' 1 - 255 in the file.. each address on its own line.
Is it better to first read in command line and store that in a variable.
such as
<code>
#include <stdio.h>
main()
{
int addr;
addr=scanf();
for (int step=1;step<255;step++)
{
printf "$addr.$step \n";
}
}
anyone help with what is possibly wrong here? I appreciate the direction guys..