In how many ways we can take input values in C++? [closed]
How to take input values in C++, in how many ways we can take input values.? Please describe in brief with small examples
For a command line application, I think the best way is to use the command line arguments. For an GUI application build using some libarary you can always have forms. And the bad way would be to ask questions to user once the application start!
For console application you have two standard ways:
- Argument values.
- User input.
Cin >> likethis; :P
(Sorry.Couldn't control)
精彩评论