#include <iostream>
#include <string>
using namespace std;
int main(){
string barra="-----------------------------------------------------------------------";
string texto="";
system("cls");
cout << "Digite algo para aparecer entre barras: ";
cin >> texto;
cout << "\n" << barra << "\n";
cout << texto;
cout << barra << "\n";
system("pause");
return 0;
}
I have already tried to compile with g++ and gpp. I have also tried re-installing the compiler. It always returns the same error message: "unable to locate procedure entry point _ZNSt7__cxx1112basic_stringlcSt11char_traitslcESalcEEC1EPKcRKS3_ in the dynamic link library" I'm new to c++ and I can't understand this error messages