1
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
2
Name:
Anonymous
2009-04-15 6:07
Excellent trolling
>>1- san, but 'Return' should be 'return'
also
NO EXCEPTIONS
3
Name:
Anonymous
2009-04-15 8:42
>>2
By replying to a troll post, you automatically admit that
YHBT . Or
HIBMT now?
4
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')
5
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 .
8
Name:
Anonymous
2009-04-15 21:43
- stop reading C++ for niggers
- read k&r
- then read the C++ programming language
9
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?
10
Name:
Anonymous
2009-04-15 22:58
11
Name:
Anonymous
2009-04-15 23:05
>>10
Obviously Lakose Lisp is
``4" dummies and Scheme is for
Knights .
12
Name:
Anonymous
2009-04-15 23:08
>>1
Sepples is case-sensitive, it should be ``
return 0;''
IHBT
14
Name:
Anonymous
2009-04-16 1:21
I learned from C++ Pocket Reference.
15
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?
17
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.
19
Name:
Anonymous
2009-04-16 5:51
>>18
C99 is a fictional programming language.
20
Name:
Anonymous
2009-04-16 6:12
>>19
Your mom told me that's not the only thing that's fictional.
21
Name:
Anonymous
2009-04-16 6:14
>>20
Why would you ask his mom for
EXPERT Programming advice?
22
Name:
Anonymous
2009-04-16 6:21
>>21
Oh my gawd... Oh my gaawdd *facepalm*.
23
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)
24
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?
28
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))
30
Name:
Anonymous
2009-04-16 16:09
Sepples has supplanted BASIC as the leading cause of brain damage in new programmers.
35
Name:
Anonymous
2010-12-06 9:04
B a c k t o / b / , ` ` G N A A F a g g o t ' '