PDA

View Full Version : Leaning C++. Any advice?



iindigo
01-17-2014, 06:11 PM
I personally have never written a single line of C++ but I am wanting to get started. So far I have chosen Code Blocks as my compiler, but am wondering if anything else is "better" or easier to use. If anyone knows any good learning sites or tutorials, let me know!

Ibuuyk
01-17-2014, 06:16 PM
http://101.lv/learn/C++/htm/ch01.htm is a pretty good guide to learn C++. It's a bit dated and some bits don't work anymore, but most of it is still good (like, instead of #include <iostream.h>, you have to type #include <iostream> using namespace std; instead). Also, I'd use Visual Studio 2007 or 2010 Express instead.

Nightpaws
01-17-2014, 06:24 PM
I've only ever used Visual Studio 2010 for coding C++

This is the latest freebie version of the application: link (http://www.visualstudio.com/downloads/download-visual-studio-vs) Choose Windows Desktop for regular applications in C++

Socks the Fox
01-17-2014, 06:27 PM
My key tips are:

Use MS Visual C++ 2010 Express. A real debugger is very important to learning to code!

Pointers aren't that hard. They're just variables that point to other variables. Hence the name, "pointers."

Don't worry too much about writing templates. You're a looooong way from needing to do that.

DeerKnight
01-17-2014, 06:44 PM
aaa thanks you guys! I was actually going to make a thread about it too, but indigo beat me to it

iindigo
01-17-2014, 07:02 PM
I've only ever used Visual Studio 2010 for coding C++

This is the latest freebie version of the application: link (http://www.visualstudio.com/downloads/download-visual-studio-vs) Choose Windows Desktop for regular applications in C++

Thanks for the link! I was actually looking at Visual Studio before but was unable to find a free version or one that doesn't require a Live ID.

Runefox
01-17-2014, 07:26 PM
http://101.lv/learn/C++/htm/ch01.htm is a pretty good guide to learn C++. It's a bit dated

"Teach Yourself

HTML 3.2 in 24 Hours"

Jesus Christ, you're not kidding.

Ibuuyk
01-17-2014, 07:54 PM
"Teach Yourself

HTML 3.2 in 24 Hours"

Jesus Christ, you're not kidding.

It's only from '94 :V

Thankfully C++ didn't change too much over the years.

cheawick
01-18-2014, 12:17 AM
"Teach Yourself

HTML 3.2 in 24 Hours"

Jesus Christ, you're not kidding.

I learned a lot from reverse engineering code from open source code, heh but I had a crappy Bloodshed compiler and didn't realize that it wasn't ANSI compliant so none of my code worked. Take a look at what cplusplus.com, freecode.com, and Sourceforge.net have to offer. There used to be a GREAT beginners forum named something like Beginnerscode.net that I wish still existed. It was a very active site that sadly fell to spam attacks and male ware, but should it emerge again I'd highly suggest keeping an eye out for it.

I hope this info helps ya out. =+D

EDIT: I just realized I clicked quote on the wrong user, I hope this doesn't mess up the reply flow.