I've done some googling and everything already but none of the solutions online exactly match my situation. So I have one project which has the files
Main.cpp
BankAccount.hpp
BanckAccount.cpp
GoCardAccount.hpp
GoCardAccount.cpp
And when I compile it, it is completely fine. But running it gives me the following image:
The things I have tried:
- Reinstalling MinGW
- Putting the libstdc++6.dll in System32
- (The only thing that works) putting the libstdc++6.dll in the project directory.
I feel like this is not the best option. Especially since if I write a small "Hello World" program, then the error does not appear.
Is there any way of actually fixing this?