I have an error while running my c++ code using mingw in windows 10. The error is something like this : the procedure entry point __gxx_personality_v0 could not be located in the dynamic link library ----a.exe
I have no idea how to resolve that. I tried to google it but i could not find any solution.
Edit 1: I noticed that programs in a particular folder are not working. For other folders it is working fine.
Edit 2: I reinstalled MingW. But I am getting the error whenever i am using string data type in c++.