•
•
•
•
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
![]() |
•
•
Join Date: Sep 2003
Location: deep withing 100100010100
Posts: 200
Reputation:
Rep Power: 6
Solved Threads: 2
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...
[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
•
•
Join Date: Sep 2003
Location: San Diego, CA, USA
Posts: 75
Reputation:
Rep Power: 6
Solved Threads: 0
I don't know but what is "intintboolfalsetrue"
try
try
#include <iostream.h>
using namespace std;
enum CHOICE { DrawRect,GetArea,GetPerim, ChangeDimensions, Quit};
// rectangle class declaration
class Rectangle{
..smthn..
};![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- One last error (C++)
- Square.c (C)
- Regarding previous programming q 2 (C)
- Please Help (C++)
- template issues - need expert debugger! (C++)
Other Threads in the C++ Forum
- Previous Thread: Windows Api Tutorial
- Next Thread: Fast data storage


Linear Mode