Click here to Skip to main content
14,982,215 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi, how do you allow the user to enter the input through his choice of command line arguments or being prompted for input in C++?
Posted

See, for instance: "How to parse command line parameters"[^] and "Basic Input/Output"[^] at cplusplus.com.
   
in a c++ app you have the main-function which has the argc parameter in which the the command line comes in. it is common use to parse it.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900