Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ code problem

Status
Not open for further replies.

princessgwin

Programmer
Sep 27, 2000
1
US
I've only recently begun learning the C++ programming language, although I am quite proficient in HTML and can write some JavaScript. Anyway, I have the Borland compiler, and am writing my code in Textpad.

When I try to compile my code, I get an error message that says Declaration terminated incorrectly, and I can't seem to figure out what I'm doing wrong. The line that it indicates has this code:

int main ();

Please help me if you can.

Sincerely,

Amelia [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top