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-15 6:07

Excellent trolling >>1-san, but 'Return' should be 'return'

also NO EXCEPTIONS

Name: Anonymous 2009-04-15 8:42

>>2
By replying to a troll post, you automatically admit that YHBT. Or HIBMT now?

Name: Anonymous 2009-04-15 9:48

This reminds me of when I gave up learning Pascal when I was very young because it couldn't compile whenever I used anything like writeIn('sussman')

Name: Anonymous 2009-04-15 11:29

>>3
By replying to and/or perceiving anything said on the internet or in real life, you automatically admit that YHBT.

Name: Anonymous 2009-04-15 11:39

By replying, you.

Name: Anonymous 2009-04-15 13:48

Sage

Name: Anonymous 2009-04-15 21:43

- stop reading C++ for niggers
- read k&r
- then read the C++ programming language

Name: Anonymous 2009-04-15 22:20

>>1
C++ for Dummies
Everything you need to know about Sepples is right there one the cover. Sepples is for dummies. You don't want to be a dummy, do you?

Name: Anonymous 2009-04-15 22:58

>>9
would you say the same thing about
www.midpointcad.com/au/docs/lakose_lisp_4_dummies_1.pdf??

Name: Anonymous 2009-04-15 23:05

>>10
Obviously Lakose Lisp is ``4" dummies and Scheme is for Knights.

Name: Anonymous 2009-04-15 23:08

>>1
Sepples is case-sensitive, it should be ``return 0;''

IHBT

Name: Anonymous 2009-04-15 23:51

>>10
What the heck is a Lakose Lisp?

Name: Anonymous 2009-04-16 1:21

I learned from C++ Pocket Reference.

Name: Anonymous 2009-04-16 1:30

>>14
Holy fuck! I experienced a déjà vu, checked, and actually found that book in my bookself. What is going on?

Name: Anonymous 2009-04-16 2:23

>>15
You're both fags.

Name: Anonymous 2009-04-16 2:44

I think I learned by sepples from the 2nd or 3rd edition of that book, it's been 10 years since then and I'm a fucking mess.

Name: Anonymous 2009-04-16 3:59

Name: Anonymous 2009-04-16 5:51

>>18
C99 is a fictional programming language.

Name: Anonymous 2009-04-16 6:12

>>19
Your mom told me that's not the only thing that's fictional.

Name: Anonymous 2009-04-16 6:14

>>20
Why would you ask his mom for EXPERT Programming advice?

Name: Anonymous 2009-04-16 6:21

>>21
Oh my gawd... Oh my gaawdd *facepalm*.

Name: Anonymous 2009-04-16 7:36

DWORD applyFaceMask(*fPalm,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)

Name: Anonymous 2009-04-16 10:13

>>20
What about I being my mom telling you that's not the only thing that's fictional?

Name: Anonymous 2009-04-16 11:31

>>23
applyFaceMaskEx, if you please.

Name: Anonymous 2009-04-16 11:58

>>25
applyFaceMaskExW

Name: Anonymous 2009-04-16 12:17

>>23-26
ApplyFaceMaskExW

Name: Anonymous 2009-04-16 12:43

Mask m = MaskIterFactory.Create(Mask::FACE,NULL,NULL,0,NULL,NULL,NULL,Mask::DefaultMask,NULL,NULL,NULL,NULL,true))

Name: Anonymous 2009-04-16 12:53

>>28
Syntax error in line 1: Expected ; got )

Name: Anonymous 2009-04-16 16:09

Sepples has supplanted BASIC as the leading cause of brain damage in new programmers.

Name: Anonymous 2009-04-16 16:24

>>30
s/Sepples/Java
ftfy

Name: Anonymous 2009-04-16 16:25

Name: Anonymous 2009-04-16 16:30

>>

Name: Anonymous 2010-12-06 9:04

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2010-12-23 0:04


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