Hi all,
I'm writing this piece of code out in unix. What I want to do is pass an integer argument through the command line and then manipulate it from there. I've done char strings before but cannot seem to get it to work with int's.
Once I have this int number it will contain the number of times I will create a process from fork.
So this is what I have so far:
int main(int ac, *argv[])
{
if(ac>1)
prinftf("invalid number of arguments");
exit(1);
}