Hi guys,
Is it acceptable to change the varibale name in
int main(int argc, int *argv[])
to something like:
int main(int mycount, int *myargv[])
or I MUST use argc, argv??
Thank you
Hi guys,
Is it acceptable to change the varibale name in
int main(int argc, int *argv[])
to something like:
int main(int mycount, int *myargv[])
or I MUST use argc, argv??
Thank you
The variable names are completely up to you, within the normal restrictions for C variable names.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
Thank you!!
Why do you want to use nonstandard names for these variables? It will probably cause confusion.
I don't.
I just wanted to know if it's possible and portable.
That last argument should be a char*[] not an int*[]
My homepage
Advice: Take only as directed - If symptoms persist, please see your debugger
Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"