hi. I want to get a string as input.
If the input is an integer i want to save it to an int variable.
I know to convert a number to int. but how to convert a string to number(integer) . in C++
If the input is an integer i want to save it to an int variable.
I know to convert a number to int. but how to convert a string to number(integer) . in C++
Comment