Anyone here taught themselves C++

Sephi

fool
Member
Joined
Jan 21, 2008
Messages
1,852
Trophies
1
Age
31
Location
Rhode Island
Website
nov.us.to
XP
627
Country
United States
I've been teaching myself C++ online, and honestly I haven't done much. I've gone through a bunch a tutorials but it'd be better to take classes and read books on it.
 

DeMoN

GBAtemp Guru
Member
Joined
May 12, 2004
Messages
7,710
Trophies
1
Website
Visit site
XP
2,621
Country
United States
Learning by yourself works too if you find a good book. Of course, the best way to learn is to write programs and have someone give you immediate feedback. Usually a parent who knows the language.

A great online book (it's actually a book, not a website) is this:

http://msdn.microsoft.com/en-us/beginner/cc305129.aspx

Downloadable in PDF format, And it's officially supported by Microsoft.

How long does it take? Depends how much you want to learn. Technically it could take forever. But usually two months to learn the ropes.
 

test84

GBAtemp's last ninja 2.
Member
Joined
Sep 8, 2006
Messages
3,698
Trophies
1
Website
gbatemp.net
XP
1,246
Country
Iran
I'm a Software Engineer and hope theses lines help:

Try to learn programming in general, not a specific language, like how to solve a problem, how to break down a bigger problem into smaller sections and by solving them I'll be able to eventually solve the bigger problem.

I suggest learning a structure based language first that has high level of read/write -ability, like Pascal, then move on into learning Object Oriented Design and then to apply the concepts you've learned, learn C++ itself.

I find it so hard to learn a language by itself (I taught myself C++ but I learned Pascal at University) since you have to learn things that you have no idea what good are for but you just keep memorizing them.

I would suggest approach on making a program, like tell yourself I'm gonna make a program that gets a name and writes it after "Hello " + TheGivenName and then go find what tools/statements/syntax you need to do that so you'll see that you need some syntax for getting a text from user and will be much easier to learn.

Again, I emphasize on learning concept of programming, I for one, have no problem learning any new programming language if you ever give me since I know the concept behind them all is one or two and all these 40+ programming languages just differ on syntax but the concept is the same so "I just have to find out what is that X statement in this language, oh they call it X^^ here, thats ok".

Hope I could help with my poor English.
 

belzilep

Active Member
Newcomer
Joined
Dec 27, 2006
Messages
29
Trophies
0
Age
36
Location
Montreal, Quebec
XP
172
Country
Canada
You also have a C++ Language Tutorial over at cplusplus.com. But as with all tutorials of this nature, TAKE YOUR TIME! It is really important to be sure to understand everything of each section before venturing further. As for classes, check their quality. Ask relatives if you doubt about. I've had a bad experience once where the class really wasn't useful, meaning it didn't advance fast enough.

Also, I have to second test84 about breaking up processes. It's one of the most important parts of programming. You must take your whole idea, be able do dissect it into distinct parts, and then build from there (with a clear idea of the relations between all of these parts). Also, comment your code! It's one of the hardest things to do (you keep thinking that you won't need it), but it's invaluable when looking at an other person's work or checking your old programs. Trying to decipher what each line means in a badly or not at all commented program is WAY harder than coding yourself.

Apart from that, you only need some basic tutorials on programming and C++ (put some emphasis on file I/O and pointers). I think what has been said here is enough. After that, think of doing programs yourself. Get an idea, put in on paper, separate all the parts needed, and try to code! If you're stumped, look online for documentation: this is where the learning is!
 

deathfisaro

Narcistic Deathfisaro Fan
Member
Joined
Mar 16, 2007
Messages
2,052
Trophies
0
Age
38
Location
Vancouver, BC
Website
Visit site
XP
352
Country
Canada
If you take classes, there's a set pace and you'll follow it.
If you wanna try to self-teach, there's a high chance it'll become a pending project for a long time.

And I agree, learn the logic not just a language. I started programming with GWBASIC, moved onto QBASIC, and then to Visual BASIC to Turing to True BASIC to Java to C++ back to Java now.

As you can see from my list, if you become familiar with a language, you could prefer that over others and limit what you can do. Took me a while to switch from old BASIC to object oriented languages.

Start with something small. Back in high-school I was making a chess game that supports TCP/IP play and has AI. After about thousands lines of code I ended up with an offline-only 2 players-only chess game with fancy graphics and some not-really-necessary gimmicks. I didn't know my ability =P
 

cornaljoe

Well-Known Member
Member
Joined
Jan 13, 2006
Messages
523
Trophies
0
Age
39
Website
Visit site
XP
357
Country
United States
I actually found it easier to read a book than online material. I grasp the information while reading it on paper with no distractions. Looking at it online just made me say screw it and come here to read something more interesting
wink.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Pass