I’m new to coding, so I apologize if there’s some obvious piece of information you need to help me that I’m not providing.
The problem: Any attempt to declare a string data type causes my console application to be completely empty. The same code that gives me a blank screen in Atom works just fine in Visual Studio, CLion, etc–so it’s not a coding error.
The program can be as simple as a std::cout << “hello world”; and I can compile and run it and it works. But if I type string name; before the cout (and change NOTHING else), the “hello world” completely disappears. It’s baffling because everything else works perfectly. (and yes, I did remember to include the string library)
Am I the only one with this problem?