I guess the title sums it up.
What do you call the two arguments you find in int main in technical terms?
And you don't have to reply as to what they're for. I know what they're for, and I know how to use them.Code:int main(int argc, char* argv)
But actually, the real answer I want is for this question. How do you use them in an IDE? (in my case VC++ 2003)
To test whether my code works or not, I do either of two things (which seem stupid to me)
1. I assign test values to temporary values which occupy place that argc and argv should be in the final code then comment them out when I build the final executable (and make appropriate changes to the code).
2. I go into the DOS shell and try passing what parameters I can, and if it crashes, I try fixing it back in the IDE (but in this case, I don't really know where it crashed since the IDE is not there to help me out).
How do the pros do this?