Advertisement

problem with compiling lesson 1

Started by August 15, 2001 02:06 PM
3 comments, last by GLman 23 years, 6 months ago
Hi, i''m using dev-c++ as my compiler and when I try to compile lesson 1 I get an error saying "`CDS_FULLSCREEN'' undeclared (first use this function)" can anyone help.
CDS_FULLSCREEN is a flag used in ChangeDisplayMode, included in winuser.h

Jason
Advertisement
I''ve had a lot of trouble with Dev-C++
Try using Borland''s free compiler, it works a lot better

www.download.com
search for c compiler

the only thing is, it doesn''t have an IDE, so you have to do it all from the command line
DeschutesCore do you mean that I just have to include winuser.h and it''ll work because I did that and it didn''t work.

NickW thanks I guess I''ll try out Borland because I have had allot of problems with dev-c++.
Add:

#define CDS_FULLSCREEN 4

to the top of your code, I dont know if this works in dev-c++ but its the method that is commonly used, and you might have to define that before your #incude''s in case it''s accessed within the header file




Open mouth, insert foot

This topic is closed to new replies.

Advertisement