Recommended Free C++ tutorial

What free online tutorials would you guys suggest for learning C++?

Ooh, I don’t know, but I want it too!

If you REALLY think you want to learn C++;

https://www.cprogramming.com/tutorial/c+±tutorial.html
https://www.cplusplus.com/doc/tutorial/

Those are good tutorials that cover all the basics.

But i’m pretty sure what you really want is to learn either C# or Java

If you really needed C++ you would have a complex program that needed to be high performance and you would then probably be a skilled coder which didn’t create threads about where to find a tutorial

java can fuck off

Killer posted probably the best free references. I just want you to know, Garth, that you could have answered your own question with a 10 second google search.

If you’re looking for a good book on the subject of C++ and general programming, I would highly recommend Bjarne Stroustrup’s “Programming Priciples and Practice Using C++.”

A search for C++ tutorials would have rendered loads of results. But a lot of them are not particularly well structured, or well thought through. There’s nothing wrong with wanting to learn C++, maybe the guy wants to work on stuff that is already in c++ sources, or it just interests him. Also if you can get your head round C++ well enough, most other languages are just learning a new variation on the syntax.

C# > *

ditto :hmph:

https://xoax.net/ Video tutorials.
https://cplusplus.com/ Article tutorials.

The first results being the two first tutorials suggested in this thread.

You ready?!

#include

int main(){
std::cout<<“Hello World”;
return 0;
}

Welcome to the world of programming!

I would imagine he does, otherwise he wouldn’t have asked the question.

Well, that’s a dick thing to say.I don’t know why ANYONE would want to learn C# to be honest.

He didn’t say he NEEDED C++, he said he wanted to learn it. Stop being a jerk.

Oops, double post. Sorry.

Better get ready to encounter functions with names that don’t make sense cough_ecvt_scough.

  1. You forgot newline. :slight_smile:
  2. C++ streams are shit. Use fuckin’ printf.

You’ve taken my quote out of context. Just because they were the first 2 results doesn’t make them good. Which he was asking for, he was asking people’s opinion on which tutorials to follow.

Have you ever used a programming language before? It’s not as easy as simply “learning” C++, really it’s a matter of learning how to think in a particular way, the programming languages are just a way for you to express that thinking.

Java happens to be a very easy programming language to get into, many beginners tutorials are available which deal in Java and it’s a very well supported and fully featured language. Many of the pitfalls you are likely to encounter with C++ can be avoided by using Java which can be a bit simpler and more forgiving.

In time when you’re ready you can move on to C++ and it won’t seem as daunting.

The cplusplus.com tutorials are pretty good. What platform are you planning on developing for? Probably one of the more difficult parts of starting C++ is just setting up your development environment. I think it’s a little faster to get started developing under Linux if you know Linux, otherwise Visual Studio Express seems to be the standard used by most libraries and applications under Windows, but I don’t have much experience with that one.

For more advanced techniques in c++, this book is a must have. I wouldn’t suggest it now, but keep it in mind if you continue your c++ career: https://www.amazon.com/Scientific-Engineering-Introduction-Advanced-Techniques/dp/0201533936/ref=sr_1_1?s=books&ie=UTF8&qid=1326304898&sr=1-1

I’m not sure if Java is easier than C++ to get into. Sure, to do more advanced things in C++ you’ll have to use classes, pointers, templates, references and other topics which are considered a little more difficult to follow, but, initially, I would consider c++ much easier to use than Java. Java forces you to use classes right off the bat; Moreover, I’d really just say java’s different than C++, not harder. People who start with C++ will find starting java harder and people who start with java will find starting c++ harder, just because they’re different from what you’re used to. In the realm of languages, “if” you were looking for an easy language to start off with, I’d choose something like python or ruby, but, honestly, I suggest you choose the language you think you will need for what you want to do; Not what other people prefer. You’ll find your own preference the more you program. Personally I prefer python and c++ over java and ruby.

C++ will make as little or as much sense as you and the libraries you use make it. I can find libraries in C++ and Java that are beautiful and libraries in C++ and Java that look like they were written in Klingon.

https://www.datastore.cz/bruceeckel/

eeehhhhhhhh? C++, like it or not, is still largely considered the standard. All kinds of games and applications get written in C++.

I’m firmly in the “Java is garbage” camp myself.

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.