Teach yourself C++
Teach yourself C++
Hi Guys
For anyone who is Interested in Learning C++ , take a look at this.
http://newdata.box.sk/bx/c/
For anyone who is Interested in Learning C++ , take a look at this.
http://newdata.box.sk/bx/c/
-
- 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:
-
- Registered User
- Posts: 614
- Joined: 29 Dec 2006, 02:00
- Location: somewhere in the blight
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.
-
- Registered User
- Posts: 630
- Joined: 12 Feb 2007, 02:00
- Location: http://www.pcformat.co.za
- Contact:
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).
Laptop - Dell 1720, Intel Core 2 Duo 2.0Ghz T7300, 2.5GB DDR2 667 1x512GB, 17" (1920 x 1200).
lol. Is there any programmer that hasn't had exposure to BASIC at some level? Some more:PHR33K wrote:... yes, for people who cant code.Neon948 wrote:VB Rules.
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.
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.
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: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.
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
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
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.
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
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
- 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:
-
- Registered User
- Posts: 614
- Joined: 29 Dec 2006, 02:00
- Location: somewhere in the blight
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
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
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.gosub is more equivelant to the JNZ, JNE, JZ, etc. Whilst GOTO is basicly JMP.
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
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