I have a project in Code::Blocks to practice my SDL. For some reason something as simple as this:
is causing a segfault for me. I don't ever recall having an issue where declaring a string caused this.
I generated an all new console project to test this:
using namespace std;
std::string helloworld = "hello world";
cout << helloworld << endl;
This has the same issue. Am I just missing something obvious?