I'm trying to make this work with Netbeans+MinGW. It says run failed. I tried to do step by step and came up with this little code:
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char** argv) {
string input = "";
return 0;
}
I'm getting RUN FAILED (exit value 57, total time: 364ms)
.
Here I read that not use using namespace std;
. I tried that way too, but still run failed. What is the problem? How to use string without run failed?