I am just trying to make a simple string variable and c++ giving me dynamic link library error I compile it with
g++ (file_name.cpp) -o (file_name)
And It's giving me this error prompt
The procedure entry point _ZNSt7_cxx1112basic_stringlcSt11char_traitslcESalcEEC1Ev could not be located in the dynamic link library D:\Programs\Testing\String.exe(My C file with full path)
#include<iostream>
#include<string>
using namespace std;
int main(){
string data;
return 0;
}