... compile a simple c++ program through command line, visual studio code or any ide i get the following error -:

In file included from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\bits\postypes.h:40:0,
from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\iosfwd:40,
from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\ios:38,
from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\ostream:38,
from c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\iostream:39,
from happen.cpp:1:
c:\mingw\lib\gcc\mingw32\4.8.1\include\c++\cwchar:44:19: fatal error: wchar.h: No such file or directory
#include <wchar.h>
^
compilation terminated.


After this error is shown and my program is not compiled