   Resource Header Issue
  Hi,I have a resource file that stores the reference to my icon for my window.  This is the simple file:#include "GameState.h"IDI_ICON1 ICON pIcon.icoI get warnings when trying to compile that read:Compiling: pong.rcIn file included from pong.rc:5:GameState.h:7:58: cstdlib: No such file or directoryThere are 2-3 of these for iostream and whatnot.  How come this happens??  I still am able to run the program and my icon shows up without issues...I am using CodeBlocks as an IDE.   
  You include some C/C++ headers in your GameState.h header file. And it looks like RC doesn't know where to find those headers. Even it found them and included them - you would get a lot of errors, because RC doesn't support C/C++ syntax.I'd recomend you to extract the shared data (by C++ and RC) into a separate header (Resources.h) and include it in your GameState.h and your RC script.Other solution is to #ifdef/#endif everything. I don't know what kind of RC compiler you are using, but usualy they all have some sort of macro always defined (Microsoft RC compiler has RC_INVOKED macro).   ;  I'm not sure you can include normal c/c++ headers in resource files. I think you can just pass in #defines and preprocessor stuff like that.You'll need to put the reference to your window icon in a seperate .h file and include that in the rc then include that header file in GameState.h   