At my new workplace trying to setup C++. Couldn't get VS Code to work so we just installed the Visual Studio 2015 License we had and I'm running into some basic issues I've never had, the main one being that even when I "Start without debugging" the console window still just immediately closes and does not prompt a "Press any key.." message I'm used to seeing. I started off on Visual Studio 2017.
This is a minor issue, but I'm also used to having a basic .cpp file set up every time I start a new project and this does not happen, have to add a .cpp to the source files and type out int main().
The only solution I've found to keep the console up is to wrap everything up in a do-while loop but I'd prefer not to have to create one for every piece of code I write.
#include <iostream>
#include <string>
using namespace std;
string tellme;
int main()
{
cout << "enter some text" << endl;
cin >> tellme;
cout << "Here's the text: " << tellme << endl;
return 0;
}
No Error messages.