0

Hi.I'm posting a little part of my code here and the errors...

#include <iostream.h>
intintboolfalsetrue
enum CHOICE { DrawRect = 1 ,GetArea,GetPerim,ChangeDimensions,Quit};
// rectangle class declaration
class Rectangle

--------------------Configuration: Week1inReview - Win32 Debug--------------------
Compiling...
review.cpp
D:\Adobe\Vc++6projects\Week1inReview\review.cpp(5) : error C2143: syntax error : missing ';' before 'enum [tag]'
D:\Adobe\Vc++6projects\Week1inReview\review.cpp(5) : error C2501: 'intintboolfalsetrue' : missing storage-class or type specifiers
D:\Adobe\Vc++6projects\Week1inReview\review.cpp(5) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

review.obj - 3 error(s), 0 warning(s)

where should I look it's a huge code with like 130 lines...

Edited by Dani: Fixed formatting

3
Contributors
2
Replies
4
Views
13 Years
Discussion Span
Last Post by meabed
0

I don't know but what is "intintboolfalsetrue"
try

#include <iostream.h>
using namespace std;
enum CHOICE { DrawRect,GetArea,GetPerim, ChangeDimensions, Quit};
// rectangle class declaration
class Rectangle{
..smthn..
};
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.