How can I learn C++?

For tech wizards and n00bs alike. Questions, answers, or just general hoo-haa.

Moderator: Moderators

Post Reply
Message
Author
User avatar
wolfie-pawz
Citizen
Posts: 57
Joined: Tue Oct 18, 2011 2:36 am
Location: Houston

How can I learn C++?

#1 Post by wolfie-pawz »

Hi, I'm a complete noob when it comes to anything programming. I took a simple course last year in high school and I was really interested, unfortunately the teacher didn't even know what she was doing. (Spent half the year just playing around on the internet) Anyways, I was wondering if anyone here could tell me any good books or sites that could help me learn C++. Also, a good program I can use to run it and test it and what not. Any help will be awesome. Thanks :3
I realize I'm not very artistic by any stretch of the imagination, but that won't stop me from trying!
My deviantArt Page!

shadzar
New Citizen
Posts: 47
Joined: Wed May 02, 2012 10:34 pm

Re: How can I learn C++?

#2 Post by shadzar »

i remember taking some C in '93.

well to write c you really just need to know how pretty much like HTML.

to learn how you need a good primer book, and the FOR DUMMIES series could help you begin there, as it includes the usual HELLO WORLD program.

the important thing you will need is a compiler. the thing that turns the program into an executable so that your human readable code like:

Code: Select all

include stdio.h;
becomes binary that can be read on the operating system and tell the computer to include the basic input output functions.

been ages since i actually wrote anything or even know what is out there these days for computers outside of php, HTML, and other web-based programming languages. and only wrote with C for DOS, if you even know what that is in this day and age. started working with windows programs with VBasic, but sure you would have to have the right compiler for the right version of windows you are trying to write for.

if you can learn some PHP or PERL or CGI, then you are on the right track as things work very similar with subroutines and such. to parse out what to actually do or go beyond suggesting the FOR DUMMIEs books, i would have to backtrack into BASICA, EBASIC, GWBASIC and all those and step my mind forward slowly and dissect the languages.

also you could try a community college if you have one around and see what books they have for C++, as a way to get you started and maybe even tell you what program/compiler you need, if it doesnt come with it.
just a pigment of your imagination.
Image

User avatar
aj
Consistently Inconsistent
Posts: 1725
Joined: Wed Jul 30, 2008 10:13 am

Re: How can I learn C++?

#3 Post by aj »

Well, for a starting compiler, I think Visual C++ Express is probably your best bet, assuming you're using Windows. (Otherwise, GCC.)

How one goes about learning it I have no clue, mainly because I don't actually know C++. Stack Overflow has what looks like a good list of books though.
avwolf wrote:"No dating dog-girls, young man, your father is terribly allergic!"
y̸̶o͏͏ų̕ sh̡o̸̵u̶̕l̴d̵̡n̵͠'̵́͠t͜͢ ̀͜͝h̶̡àv̸e͡ ̛d̷̨͡o͏̀ne ̶͠͡t҉́h̕a̧͞t̨҉́.̵̧͞.͠͞.͟

etam
Apprentice
Posts: 113
Joined: Wed Jan 07, 2009 6:54 pm
Contact:

Re: How can I learn C++?

#4 Post by etam »

Windows, or not, you can use Code::Blocks - cross-platform and free IDE.

About learning c++: http://lmgtfy.com/?q=c%2B%2B+tutorial. The first one (http://www.cplusplus.com/doc/tutorial) is ok. You can read the others as well.
Also, have a look at https://en.wikibooks.org/wiki/C%2B%2B_Programming.

User avatar
philip284
Apprentice
Posts: 137
Joined: Sun Jan 01, 2012 1:25 am

Re: How can I learn C++?

#5 Post by philip284 »

If you don't want to install a compiler right away you could use http://www.sourcelair.com/

Then for tutorials there is http://www.cprogramming.com/tutorial.html
If a tree falls in the woods, but no one is around to hear it, does it still kill the squirrel it landed on?
ImageImage

User avatar
wolfie-pawz
Citizen
Posts: 57
Joined: Tue Oct 18, 2011 2:36 am
Location: Houston

Re: How can I learn C++?

#6 Post by wolfie-pawz »

Thanks for all the posts guys. I'll get right on learnin'! :3
I realize I'm not very artistic by any stretch of the imagination, but that won't stop me from trying!
My deviantArt Page!

Post Reply