I am having immense difficulty trying to use std::string. The program compiles absolutely fine, but when I run the program, I receive this error: error
I have looked
You can use
g++ -static-libstdc++ -static-libgcc
I had the same problem, but it worked for me