Teach yourself C++

Get help on programming - C++, Java, Delphi, etc.
junjun
Registered User
Posts: 1140
Joined: 01 Jul 2004, 02:00
Location: Rustenburg
Contact:

Teach yourself C++

Post by junjun »

Hi Guys

For anyone who is Interested in Learning C++ , take a look at this.
http://newdata.box.sk/bx/c/
junjun
Registered User
Posts: 1140
Joined: 01 Jul 2004, 02:00
Location: Rustenburg
Contact:

Post by junjun »

HI ppl


Did anybody try this as yet ? seems to be quite good if you looking to break into Programming, well let me know what you guys think.
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Post by DarkRanger »

Haven't tried it yet... Will make a PDF from it tomorrow and try it at home... Thanks!
Image
Hman
Registered User
Posts: 28520
Joined: 06 Oct 2003, 02:00
Processor: Intel i5 650
Motherboard: Asus P7H55-M LX
Graphics card: Gigabyte 7850 2GB OC
Memory: 8GB Kingston DDR3
Location: In my skin
Contact:

Post by Hman »

I've spidered the site, I'll try it sometime.
"Every thinking man is a drinking man."


Member of the Barberton Tigers
Anthro
Moderator Emeritus
Posts: 5547
Joined: 21 Dec 2002, 02:00
Processor: i7 3770k
Motherboard: ASUS P8P67-Pro
Graphics card: 2xNvidia GTX670
Memory: 16 GB Gskill Sniper
Location: In SQL Space inserting 'null' on purpose
Contact:

Post by Anthro »

Guys watch out for .box.sk sites.. generally not the best to go looking at - i WAS HACKED on them, and no I was not stupid, my firewall was compromised
Temporary Absence
thealluseless
Registered User
Posts: 614
Joined: 29 Dec 2006, 02:00
Location: somewhere in the blight

Post by thealluseless »

also if u interested in learning c++, i found the Sams teach ur self books pretty damn good, sometimes a little long winded and such, but definitely a great asset to have.
I can picture in my mind a world without war, a world without hate. And I can picture us attacking that world, because they'd never expect it.
Cure
Registered User
Posts: 237
Joined: 01 Jun 2007, 02:00
Location: Cape Town

Post by Cure »

Guess teach yourself books are really usefull, the only problem is I don't have the personal disipline, I do a few chapter and then decide its boring, but if you have the motivation it could be really good.
I mostly just look for interesting code snippets on the internet.
Neon948
Registered User
Posts: 630
Joined: 12 Feb 2007, 02:00
Location: http://www.pcformat.co.za
Contact:

Post by Neon948 »

VB Rules.
Desktop - Intel Q6600 @ 3Ghz (Can Go Up To 3.618Ghz), P5Q Deluxe, 4GB DDR2 1066 5-5-5-15, ATI 4870 1GB 775\1000, 2x 750 GB 32MB Cashe HDDs RAID0, Antec Nine Hundred, 750W PSU, GDM-FW900 (2304 x 1440).

Laptop - Dell 1720, Intel Core 2 Duo 2.0Ghz T7300, 2.5GB DDR2 667 1x512GB, 17" (1920 x 1200).
User avatar
rustypup
Registered User
Posts: 8872
Joined: 13 Dec 2004, 02:00
Location: nullus pixius demonica
Contact:

Post by rustypup »

Neon948 wrote:VB Rules.
thank you for that.

i feel my life has been enriched beyond measure....
Most people would sooner die than think; in fact, they do so - Bertrand Russel
PHR33K
Registered User
Posts: 779
Joined: 05 Sep 2004, 02:00
Contact:

Post by PHR33K »

Neon948 wrote:VB Rules.
... yes, for people who cant code.

To quote Edsger Dijkstra:
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.
Cure
Registered User
Posts: 237
Joined: 01 Jun 2007, 02:00
Location: Cape Town

Post by Cure »

Come on thats BASIC, VISUAL BASICS diffrent :lol:

But yeah vb does teach you a little sloppy coding but it's not that bad.
Hex_Rated
Registered User
Posts: 3679
Joined: 19 Jan 2006, 02:00
Contact:

Post by Hex_Rated »

PHR33K wrote:
Neon948 wrote:VB Rules.
... yes, for people who cant code.

To quote Edsger Dijkstra:
It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.
lol. Is there any programmer that hasn't had exposure to BASIC at some level? Some more:
The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offence.
FORTRAN --"the infantile disorder"--, by now nearly 20 years old, is hopelessly inadequate for whatever computer application you have in mind today: it is now too clumsy, too risky, and too expensive to use.
thealluseless wrote:also if u interested in learning c++, i found the Sams teach ur self books pretty damn good, sometimes a little long winded and such, but definitely a great asset to have.
The link is actually a SAMS teach yourself book that's been transcripted to a ebook web page. If you want O'Reilly ebooks, check out:

http://rodrickbrown.com/docs/oreilly/
DFI LanParty X48 LT-2TR
Intel Q9450 @ 3.2Ghz
Dell 24" 2408WFP | Phillips 37" 1080p
Sapphire HD4870 X2 2GB
4GB Corsair DDR-2 1066 | Thermalrite 120 Ultra Extreme | G9 Mouse | G15 Keyboard
Vista Ultimate x64
PHR33K
Registered User
Posts: 779
Joined: 05 Sep 2004, 02:00
Contact:

Post by PHR33K »

I've NEVER used basic :)
Hex_Rated
Registered User
Posts: 3679
Joined: 19 Jan 2006, 02:00
Contact:

Post by Hex_Rated »

Contrary to what Mr. Dijkstra would have you believe, that's not necessarily a good thing. :wink:
DFI LanParty X48 LT-2TR
Intel Q9450 @ 3.2Ghz
Dell 24" 2408WFP | Phillips 37" 1080p
Sapphire HD4870 X2 2GB
4GB Corsair DDR-2 1066 | Thermalrite 120 Ultra Extreme | G9 Mouse | G15 Keyboard
Vista Ultimate x64
PHR33K
Registered User
Posts: 779
Joined: 05 Sep 2004, 02:00
Contact:

Post by PHR33K »

Its by pure choice as well - in highschool they wanted me to do VB.NET - I handed all my projects in; done in FASM :D
Hex_Rated
Registered User
Posts: 3679
Joined: 19 Jan 2006, 02:00
Contact:

Post by Hex_Rated »

You are mad... :) If I was your teacher I would have given you 0 for not following instructions.

I also prefer to stay away from VB, it's just not always possible. But I believe that Dijkstra was referring to classical BASIC, which is a completely different language compared to today's BASIC variants which follow the philosophy of true OO languages.

He was mainly critical of GOSUB and GOTO keywords. With good reason.
DFI LanParty X48 LT-2TR
Intel Q9450 @ 3.2Ghz
Dell 24" 2408WFP | Phillips 37" 1080p
Sapphire HD4870 X2 2GB
4GB Corsair DDR-2 1066 | Thermalrite 120 Ultra Extreme | G9 Mouse | G15 Keyboard
Vista Ultimate x64
PHR33K
Registered User
Posts: 779
Joined: 05 Sep 2004, 02:00
Contact:

Post by PHR33K »

GOTO is fine - if you know what youre doing. its no different to an unconditional 5 byte jump.
Hman
Registered User
Posts: 28520
Joined: 06 Oct 2003, 02:00
Processor: Intel i5 650
Motherboard: Asus P7H55-M LX
Graphics card: Gigabyte 7850 2GB OC
Memory: 8GB Kingston DDR3
Location: In my skin
Contact:

Post by Hman »

Hey, I did some BASIC back in the day.
"Every thinking man is a drinking man."


Member of the Barberton Tigers
User avatar
StarPhoenix
B.Soc.Sci, M.SocSci [UPCF]
Posts: 17634
Joined: 11 Dec 2003, 02:00
Processor: Core i5 3470
Motherboard: Gigabyte G1 Sniper Z77
Graphics card: nVidia GeForce GTX 1060
Memory: 8Gb DDR3 1600
Location: East London
Contact:

Post by StarPhoenix »

<ot>
Very well.....so.....
Which languages a)Are fairly easy to learn
b)Do not teach one bad habits
c)Have a free compiler/interpreter

I have a point to prove to someone

So as not to disrupt this thread any further, please pm your answer to me.
Thank you
</ot>
thealluseless
Registered User
Posts: 614
Joined: 29 Dec 2006, 02:00
Location: somewhere in the blight

Post by thealluseless »

we were always taught goto statements were the root of all evil, i have yet to use one(except for assembler :) ), although its been freakin tempting
I can picture in my mind a world without war, a world without hate. And I can picture us attacking that world, because they'd never expect it.
Hex_Rated
Registered User
Posts: 3679
Joined: 19 Jan 2006, 02:00
Contact:

Post by Hex_Rated »

GOTO statements are the root of all evil. You can't write assembler code without using them. When your code is compiled into machine code, rest assured there will be the assembler equivalent OPCodes (JNZ, JNE ... etc).
DFI LanParty X48 LT-2TR
Intel Q9450 @ 3.2Ghz
Dell 24" 2408WFP | Phillips 37" 1080p
Sapphire HD4870 X2 2GB
4GB Corsair DDR-2 1066 | Thermalrite 120 Ultra Extreme | G9 Mouse | G15 Keyboard
Vista Ultimate x64
PHR33K
Registered User
Posts: 779
Joined: 05 Sep 2004, 02:00
Contact:

Post by PHR33K »

gosub is more equivelant to the JNZ, JNE, JZ, etc. Whilst GOTO is basicly JMP.

Supertwit: C. Dont learn C++ first as C++ is far more lenient. C demands you write good code - which becomes a habit.
UndaGrad
Registered User
Posts: 228
Joined: 28 Apr 2005, 02:00
Location: JHB

Post by UndaGrad »

I think classes are way better and neater than structs 8)
Image
Hex_Rated
Registered User
Posts: 3679
Joined: 19 Jan 2006, 02:00
Contact:

Post by Hex_Rated »

gosub is more equivelant to the JNZ, JNE, JZ, etc. Whilst GOTO is basicly JMP.
No. GOSUB was used in very old BASIC. It is an unconditional jump as well. JNZ, JNE, JZ, JE, etc are all conditional. Used when you had to define the line number for each line of code.

eg:

10 GOSUB MYSUB
20 PRINT "Hello 1"
30 SUB MYSUB
40 PRINT "Hello 2"
50 RETURN
55 REM or was it END SUB? Can't remember
60 PRINT "Hello 3"

Would generate
Hello 2
Hello 1
Hello 2
Hello 3

IIRC. This was the state of BASIC programming in Dijkstra's day. Which is probably why he condemned it.
DFI LanParty X48 LT-2TR
Intel Q9450 @ 3.2Ghz
Dell 24" 2408WFP | Phillips 37" 1080p
Sapphire HD4870 X2 2GB
4GB Corsair DDR-2 1066 | Thermalrite 120 Ultra Extreme | G9 Mouse | G15 Keyboard
Vista Ultimate x64
PHR33K
Registered User
Posts: 779
Joined: 05 Sep 2004, 02:00
Contact:

Post by PHR33K »

heh . Like I said, Ive never used basic :S
Post Reply