How can I identify command line parameters my program was started with?
1
Expert's answer
2010-08-09T10:33:42-0400
To do this, you should check the variables argc and argv which contain respectively the number and the values of the parameters: int main(int argc, char* argv[]){}. Argument with index 0 is the name of the running program. The following values are the parameters of the program starting. For example:
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment