Read an integer in C++/CLI
I am a beginner in C++/CLI. When I try to read an integer from console using Console::Read() method, I found that program reads only an ASCII decimal value of the first digit. Is there any way to read an integer as integer or a double as a double? If yes, then what will be a sample code?
|