confused with errors in c++

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2003
Posts: 208
Reputation: camelNotation is an unknown quantity at this point 
Solved Threads: 1
camelNotation's Avatar
camelNotation camelNotation is offline Offline
Posting Whiz in Training

confused with errors in c++

 
0
  #1
Nov 6th, 2003
Hi.I'm posting a little part of my code here and the errors...
[CODE]#include <iostream.h>
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...
Forum bully
Reply With Quote Quick reply to this message  
Join Date: Sep 2003
Posts: 81
Reputation: Valmian is an unknown quantity at this point 
Solved Threads: 0
Valmian Valmian is offline Offline
Junior Poster in Training

Re: confused with errors in c++

 
0
  #2
Nov 6th, 2003
I don't know but what is "intintboolfalsetrue"
try
  1. #include <iostream.h>
  2. using namespace std;
  3. enum CHOICE { DrawRect,GetArea,GetPerim, ChangeDimensions, Quit};
  4. // rectangle class declaration
  5. class Rectangle{
  6. ..smthn..
  7. };
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 141
Reputation: meabed is on a distinguished road 
Solved Threads: 3
Team Colleague
meabed's Avatar
meabed meabed is offline Offline
Junior Poster

Re: confused with errors in c++

 
0
  #3
May 5th, 2004
try to post it with
[code]
[\code]
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC