I have a project in Code::Blocks to practice my SDL. For some reason something as simple as this:
string stringname;
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:
#include <iostream>
#include <string>
using namespace std;
using std::string;
int main()
{
std::string helloworld = "hello world";
cout << helloworld << endl;
return 0;
}
This has the same issue. Am I just missing something obvious?