Help me please!!!
bool running=true; //Is the program still running?
When i compile i get these errors:
error C2146: syntax error : missing '';'' before ientifier ''running''
error C2377: ''bool'' : redefinition; typedef cannot be overloaded with any other symbol
error C2501: ''running'' : missing storage-class or type specifiers
Why the hell would it be doing this? I changed the code and then i changed it back to what it was before (when it compiled) and now i get this error. I cant see whats wrong
#define BLOODY_WORK_THIS_TIME;
#define BLOODY_WORK_THIS_TIME;
nope this is all thats before it
#define WIN32_LEAN_AND_MEAN
#define WINDOW_CLASS "Dark Mage"
#define WINDOW_TITLE "Dark Mage"
#include <windows.h>
#include "resource.h"
#include "main.h"
and i am getting similar messages for every other variable in the program.
Edited by - sauronthedark on February 26, 2002 12:01:23 PM
#define WIN32_LEAN_AND_MEAN
#define WINDOW_CLASS "Dark Mage"
#define WINDOW_TITLE "Dark Mage"
#include <windows.h>
#include "resource.h"
#include "main.h"
and i am getting similar messages for every other variable in the program.
Edited by - sauronthedark on February 26, 2002 12:01:23 PM
#define BLOODY_WORK_THIS_TIME;
or maybe, your missing a ; in main.h
----------------------------
"Quotes are cool" - Me
Check out my game Asteroidz, it rules !!!
----------------------------
"Quotes are cool" - Me
Check out my game Asteroidz, it rules !!!
--------<a href="http://www.icarusindie.com/rpc>Reverse Pop Culture
lol yeah it was thanks
#define BLOODY_WORK_THIS_TIME;
#define BLOODY_WORK_THIS_TIME;
#define BLOODY_WORK_THIS_TIME;
You''re complier may not support a bool type. Try using an integer. Set it to one for true and zero for false.
Scout
Visit Subversive Systems!!!
--Remember, be quick to listen, slow to speak, and slow to get angry.
Scout
Visit Subversive Systems!!!
--Remember, be quick to listen, slow to speak, and slow to get angry.
ScoutVisit Subversive Systems!!!--Remember, be quick to listen, slow to speak, and slow to get angry.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement