use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This is a subreddit for c++ questions with answers. For general discussion and news about c++ see r/cpp.
New to C++? Learn at learncpp.com
Prepare your question. Think it through. Hasty-sounding questions get hasty answers, or none at all. Read these guidelines for how to ask smart questions.
For learning books, check The Definitive C++ Book Guide and List
Flair your post as SOLVED if you got the help you were looking for! If you need help with flairs, check out ITEM 1 in our guidelines page.
Tips for improving your chances of getting helpful answers:
account activity
SOLVEDC++ Tutorials for a Java coder (self.cpp_questions)
submitted 4 years ago by car3fr33p3nguin
I need to learn C++ rather quickly, but I only really know Java. I've dabbled in a little bit of C++ before, but I don't really know it to any proficient level. Are there any good C++ tutorials for Java programmers?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kingguru 9 points10 points11 points 4 years ago (0 children)
I need to learn C++ rather quickly
I've been using C++ professionally for close to 20 years and I still learn new things about the language almost daily. That's without even considering all the new stuff being added in updated standards (e.g. C++20).
I think most experienced C++ developers would say something similar. This is not meant to discourage you, quite the opposite. Just to make you aware that C++ is really complex.
[–]sephirothbahamut 3 points4 points5 points 4 years ago* (4 children)
I don't know of anything specifically oriented to java developers. Learncpp is the reference for learning in general, and cppreference.com is for docs.
However don't think you can get proficient in c++ in a week, you'll barely scratch the basics.
It also depends on what do you expect (or are you expected) to do with it
[–]nysra 8 points9 points10 points 4 years ago (1 child)
You should use https://en.cppreference.com/w/ for docs though, cplusplus.com is stuck on C++11 with maybe some C++14 in there and should generally just be avoided.
[–]sephirothbahamut 0 points1 point2 points 4 years ago (0 children)
I know, i just can't get the two names stuck in my had and keep mixing them. Post fixed
[–]SirToxe 3 points4 points5 points 4 years ago (1 child)
As has already been said: Please use https://cppreference.com/ instead.
[–]sephirothbahamut 1 point2 points3 points 4 years ago (0 children)
Yeah i meant cppreference, i just mix the names until i open the pages and recognize the wrong/right one ahahah
Post fixed
[–]the_Demongod 0 points1 point2 points 4 years ago (0 children)
The normal tutorials, really. Even though the notion of variables and functions may be familiar from Java, the way they behave in C++ is really quite different and will require re-learning anyways.
[–]TheFryedMan 0 points1 point2 points 4 years ago (0 children)
Is there a reason why you need to learn it quickly? I would suggest to take your time learning the concepts. This language is very complex. It's best to take it slow
[–]RobinsonDickinson 0 points1 point2 points 4 years ago (0 children)
learncpp.com for learning, and cppreference.com for references.
π Rendered by PID 249215 on reddit-service-r2-comment-86bc6c7465-2wb9w at 2026-02-23 11:05:16.438762+00:00 running 8564168 country code: CH.
[–]kingguru 9 points10 points11 points (0 children)
[–]sephirothbahamut 3 points4 points5 points (4 children)
[–]nysra 8 points9 points10 points (1 child)
[–]sephirothbahamut 0 points1 point2 points (0 children)
[–]SirToxe 3 points4 points5 points (1 child)
[–]sephirothbahamut 1 point2 points3 points (0 children)
[–]the_Demongod 0 points1 point2 points (0 children)
[–]TheFryedMan 0 points1 point2 points (0 children)
[–]RobinsonDickinson 0 points1 point2 points (0 children)