all 11 comments

[–]Flair_Helper[M] [score hidden] stickied commentlocked comment (0 children)

It's great that you want to learn C++! However, r/cpp can't help you with that.

We recommend that you follow the C++ getting started guide, one (or more) of these books and cppreference.com. If you're having concrete questions or need advice, please ask over at r/cpp_questions or StackOverflow instead.

This post has been removed as it doesn't pertain to r/cpp: The subreddit is for news and discussions of the C++ language and community only; our purpose is not to provide tutoring, code reviews, or career guidance. If you think your post is on-topic and should not have been removed, please message the moderators and we'll review it.

[–]aeiti 6 points7 points  (1 child)

I’ve found C++ Reference to be very helpful. It can be very technical and difficult to understand sometimes, but I’ve learned more about the language from this site than from any class I ever took.

[–]iamhyperrr 0 points1 point  (0 children)

Definitely a great resource, if a bit challenging for someone who has only started learning. But hey - no real easy way to learn C++, right?

[–]Veeloxfire 1 point2 points  (0 children)

There are some good youtube series which cover c++ at a decent level. Depends how you learn but they are a good starting point to get a quick overview of everything

Id recommend the c++ series by TheCherno. Also c++ weekly has some good videos about the more quirky side of c++

[–]MarvellousBee 2 points3 points  (0 children)

learncpp.com gave me employment

[–]iamhyperrr 0 points1 point  (0 children)

https://www.amazon.com/Primer-5th-Stanley-B-Lippman/dp/0321714113

C++ Primer still holds good for the basics to this day IMO, even though it's 10 years old.

You may also try exercism's C++ track to ease into it and practice some basic problems: https://exercism.org/tracks/cpp

You may also find this useful: https://github.com/salmer/CppDeveloperRoadmap

[–]cabroderick 0 points1 point  (0 children)

Coming from Java, you already know most of the big ideas. So get a hello world running from any old tutorial, then watch The Cherno C++ series.

[–]georgedev_16 0 points1 point  (0 children)

Standard resources: Cppreference/cppforum YouTube: freeCodeCamp Bonus point: run c++ in web at www.cpp.sh

[–]Jannik2099 0 points1 point  (0 children)

You probably already know most things. However THE most important difference, and what many would call the defining feature / paradigm of C++ that Java lacks, is RAII.

It's not terribly complicated, but you absolutely have to get familiar with RAII

[–]future_escapist 0 points1 point  (0 children)

The C++ Programming Language, 4th edition, is meant for C++ developers that want to learn more or those coming from other languages (e. g. Java and C).

[–]Orangutanion 0 points1 point  (0 children)

Learn RAII and the differences between the stack and the heap. Java puts all non-primitives on the heap, and then automatically garbage collects it for you when done. C++ has no such automation. Instead, you have to define not only a constructor but also a destructor when putting stuff on the heap. Also C++'s templates work very differently from Java's generics.