954,173 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

confused with errors in c++

Hi.I'm posting a little part of my code here and the errors...
[CODE]#include
intintboolfalsetrue
enum CHOICE { DrawRect = 1 ,GetArea,GetPerim,ChangeDimensions,Quit};
// rectangle class declaration
class Rectangle
[CODE]
--------------------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...

camelNotation
Posting Whiz in Training
208 posts since Sep 2003
Reputation Points: 16
Solved Threads: 2
 

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..
};
Valmian
Junior Poster in Training
82 posts since Sep 2003
Reputation Points: 13
Solved Threads: 0
 

try to post it with
[code]
[\code]

meabed
Junior Poster
Team Colleague
139 posts since May 2004
Reputation Points: 55
Solved Threads: 3
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You