| | |
confused with errors in c++
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
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
Posts: 81
Reputation:
Solved Threads: 0
I don't know but what is "intintboolfalsetrue"
try
try
C++ Syntax (Toggle Plain Text)
#include <iostream.h> using namespace std; enum CHOICE { DrawRect,GetArea,GetPerim, ChangeDimensions, Quit}; // rectangle class declaration class Rectangle{ ..smthn.. };
![]() |
Similar Threads
- error problems (C++)
- The Resurrection of Dr. Python (Python)
- STL question concerning partial_sum? (C++)
Other Threads in the C++ Forum
- Previous Thread: Windows Api Tutorial
- Next Thread: Fast data storage
| Thread Tools | Search this Thread |
api array based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count database delete deploy desktop developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker list loop looping loops map math memory multiple news node number numbertoword output parameter pointer problem program programming project python random read recursion recursive reference rpg sorting string strings struct temperature template test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





