Detecting user input | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Detecting user input

How do I detect user input in C++ if it was a string, integer, char, etc.......?

9th Apr 2018, 10:05 AM
Vcelist
Vcelist - avatar
2 Answers
0
You may try reading a string and analyzing it character wise : https://code.sololearn.com/cnxi7DID8NnK/?ref=app
9th Apr 2018, 5:39 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar