sharkeyph at April 5th, 2010 10:07 — #1
I am relatively new to programming in C++. I have some experience with very basic languages like HTML, but I need some resources to get me up to par. I am enrolled in a computer science course focusing in programming and I will be taking C++ as a course later this year. In the mean time I have been trying to teach myself C++ but I have hit a dead end in my own search. Does anyone have any tutorials on the subject that they would like to share or ideas of where to look for them? I don't want to go into my class not knowing what is going on. I know that the course is designed for people with no programming knowledge but I like to be ahead of the game. Any ideas would be welcome! Thanks
rant_ at April 5th, 2010 10:20 — #2
What exactly is the problem with the tutorials you've read so far? Can't you just access your universities resources given that you're already enrolled?
With C++, I'd strongly suggest that you go grab one of the classic books from a good store, like Stroustrup's "The C++ Programming Language" - but in addition to that, you're also going to need a book for beginners (at least that is what I would suggest if you have little experience).
The thing is that C++ is definately not the optimal language to learn the basic concepts behind computer programming - at least not in the beginner-stage. I would therefore also recommend that you learn something simpler first...
sharkeyph at April 5th, 2010 10:34 — #3
I cant access the school resources until I am in the class. Also C++ and VB are the only languages that my school offers and I figured C++ would be the most valuable of the two. The tutorials I have found have helped me greatly, but I have reached a point where all the tutorials I find are covering things I already have gone through. I was looking into a couple of books in Borders but I didn't really find one that I felt would be what I am looking for. Most were a little advanced. Any books you would recommend?
kvakvs at April 5th, 2010 15:15 — #4
First thing you stumble upon on google would be this:
http://www.cplusplus.com/doc/tutorial/ And in general this website
Read through those tutorials, try writing some simpler algorithms using visual studio and windows console application setting, print some messages and numbers. Just to simplify everything and save yourself a headache of setting up window and starting up graphics.
Then when you feel like you tried everything in tutorial, set a new goal, like create a pong or arcanoid, or invaders game, or simple one-room platformer arcade, and ask here on this forum again. We'll help you picking a good graphic library, and tell you first steps to start with it.
fireside at April 6th, 2010 07:40 — #5
Bruce Eckel's books are pretty good for online books:
I wouldn't buy a book because you'll be buying one for the course. Although, if you can find which one, it wouldn't be a bad idea to buy it early. Playing around on your own by writing simple games and other programs is probably as much as you should do. Stay with text games because you should probably wait to decide on a graphic library till later.
alphadog at April 11th, 2010 20:31 — #6
I second fireside's suggestion. I also recommend the Head First books.
And, no, Stroustrup is horrible for beginners.