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

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

--------------------Configuration: Week1inReview - Win32 Debug--------------------
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...

Recommended Answers

try to post it with CODE tags

Jump to Post

All 2 Replies

I don't know but what is "intintboolfalsetrue"

#include <iostream.h>
using namespace std;
enum CHOICE { DrawRect,GetArea,GetPerim, ChangeDimensions, Quit};
// rectangle class declaration
class Rectangle{

try to post it with CODE tags

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.