I am working on an OpenGL project using Dev-C++ and every time I try to compile it I get the error CDS_FULLSCREEN undeclared. I am using CDS_FULLSCREEN in the function ChangeDisplaySettings(). Does anyone know why I am getting this error, or how to fix it, or the value that CDS_FULLSCREEN should have so I can just put that in there or define it my self.
You are getting this error because the definition is missing from the headers. This has been corrected in later versions of mingw so it should be in the next Dev-C++ release. The correct value is 4 so you can put this at top of your source file
The headers for Dev-C++ aren''t always complete, which you''ll find out as you program more and more. The solution is to find someone with MSVC++ or download LCC-Win32 and get the needed definition from those headers.