Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ Help

Name: Anonymous 2009-04-15 6:04

Hallo /prog/

I've decided to start learning C++. From the very beginning. I'm using C++ for Dummies 5th Edition, and using the Dev-C++ editor/compiler.

http://pastebin.com/m2bb3d54d

This is the code for the first program. However, when I try to compile it, I get an error on line 34 (highlighted). The error reads:
`Return' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
expected `;' before numeric constant

Have I made a typo somewhere? I checked what I've written against the book several times. Can anyone explain the error?

Thanks a lot

Name: Anonymous 2009-04-16 5:51

>>18
C99 is a fictional programming language.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List