I just installed Code::Blocks (version 20.03) on my computer (Windows) , with Mingw.
I created a new project ==> Console application ==> with C++ ==> Compiler GNU GCC Compiler
In my main.cpp I have a simple program :
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
When I try to compile and run it , I have this error : c:\mingw\lib\gcc\mingw32\8.2.0\include\c++\cwchar:44:10: fatal error: wchar.h: No such file or directory
I don't understand it because I have installed Code Blocks with Mingw.
Please can you help me ? How can I resolve this issue ?
Thank you in advance. I stay available if you need more information.