I'm teaching myself C++ programming from the book "Jumping Into C++". It's a great book so far and makes it easy to learn the language. I'm using Microsoft Visual Studio as the compiler. When I run a simple code the window doesn't stay open long enough for me to read the results. I tried the cin.get(); command, but that didn't work. I've attached the simple code in hopes one of you may recognize a mistake. I was using Code::Blocks through the first 2 chapters, but the program then tried installing malware on my PC, so I deleted that software and went with Microsoft Visual Studio.
Thank you,
Mike
Thank you,
Mike