User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 426,517 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,086 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 4090 | Replies: 2
Reply
Join Date: Sep 2003
Location: deep withing 100100010100
Posts: 200
Reputation: camelNotation is an unknown quantity at this point 
Rep Power: 6
Solved Threads: 2
camelNotation's Avatar
camelNotation camelNotation is offline Offline
Posting Whiz in Training

confused with errors in c++

  #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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2003
Location: San Diego, CA, USA
Posts: 75
Reputation: Valmian is an unknown quantity at this point 
Rep Power: 6
Solved Threads: 0
Valmian Valmian is offline Offline
Junior Poster in Training

Re: confused with errors in c++

  #2  
Nov 6th, 2003
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..
};
Reply With Quote  
Join Date: May 2004
Location: Egypt - Cairo
Posts: 130
Reputation: meabed is on a distinguished road 
Rep Power: 5
Solved Threads: 2
Colleague
meabed's Avatar
meabed meabed is offline Offline
Junior Poster

Re: confused with errors in c++

  #3  
May 5th, 2004
try to post it with
[code]
[\code]
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C++ Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the C++ Forum

All times are GMT -4. The time now is 6:08 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC