🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

byte and DWORD?

Started by
1 comment, last by RobTheBloke 18 years, 1 month ago
I'm using Dev-C++ to compile my programs. For some reason, it doesn't recognize the variable types "byte" or "DWORD". For now I just changed the variables to int, but I'm sure the original coder made them byte and DWORD for a good reason, so I'd like to find a way to make those work if possible ^^;; Thanks for any and all help. Meow.
Advertisement
methinks you need to define them yourself:

typedef char byte; // or whatever
...

or just include the windows.h. Should work then.
F-R-E-D F-R-E-D-B-U-R...G-E-R! - Yes!
typedef unsigned char byte;
typedef unsigned int DWORD;

This topic is closed to new replies.

Advertisement