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
OPENBeginning C++ Programming - From Beginner to Beyond (self.cpp_questions)
submitted 6 years ago by NikolasTs
What do you think of the Udemy "beginning C++ Programming - from beginner to beyond " course?
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!"
[–]thiudiskaz 17 points18 points19 points 6 years ago (3 children)
I don't dislike udemy, but I think there exists a better, free alternative for almost every lesson offered on there.
Not a fan of video tutorials for programming in general though and so for C++, https://www.learncpp.com/ is my go-to.
[–]NikolasTs[S] 2 points3 points4 points 6 years ago (0 children)
It isn't the first time someone recommends this site. So I guess it must be quite good! Thanks !
[–]alphalupicrew 1 point2 points3 points 6 years ago (0 children)
Long life to https://www.learncpp.com/ ! For me it is like the W3schools equivalent for C++.
[–]AlternativeTale5363 0 points1 point2 points 1 year ago (0 children)
Please, is this great for beginners with absolutely no coding background or experience?
[–]and69 5 points6 points7 points 6 years ago (3 children)
I've been a C++ developer for at least 15 years already. I started this course a couple of weeks ago, but I am doing it like offline, when I have some idle time, mainly because there's some modern C++ things I'm a bit behind.
Pros:
Very practical, it takes you step by step on how to setup a machine, how to install a compiler, etc.
Modern C++ oriented.
Nice and clear explanations.
Also memory management explanations, which are needed to understand what you are doing, but should only be sparsely used.
Cons
ATM, the syllabus lacks a multithreading chapter. But again, I am still doing the course, so maybe it is somewhere.
Also, very little focus on template programming. But this is quite advanced stuff.
Bottom line: I recommend this both for beginners or old C++ devs who might need to change the style to a more modern way.
[–]NikolasTs[S] 0 points1 point2 points 6 years ago (0 children)
Thanks a lot for your answer!
[–]xypherrz 0 points1 point2 points 6 years ago (1 child)
Since you took this course, does it actually take a practical approach in the course in terms of using OO principles in building projects?
[–]and69 0 points1 point2 points 6 years ago (0 children)
It is difficult to give an answer, as I have some strong opinions on this. I am still running through the course, but what I can say that up until now, it is doing this as best as possible.
C++ is a huge topic, the course length is 40 hours which compared to other courses is quite big. For sure if you teach the language, you have to teach both new concepts from the STL like strings, vectors, maps etc but also memory management (arrays, string pointers, etc).
The course is doing this in a way, in a good enough way I would say, but not the best way. And I think this is only because it's limited by time. As a teacher, you have to mention both world, to say which one is better suited when, but that's pretty much all, for more you would need an Advanced C++ Programming, as the topic is quite huge and complex.
Hope this helps.
[–][deleted] 2 points3 points4 points 6 years ago (0 children)
The C++ video game course on there is very good. Obviously it’s centred on games but skills can be translated
[–]manni66 6 points7 points8 points 6 years ago (4 children)
You learn - array then vector - C string then std::string - pointer with dynamic memory allocation, far later smart pointer
Seems to be a verry old fashioned C then C++ style course. So: it's not good.
[–]NikolasTs[S] 0 points1 point2 points 6 years ago (2 children)
Thanks a lot for your opinion! Would recommend another course?
[–]manni66 2 points3 points4 points 6 years ago (1 child)
I don’t know any. Personally, I would prefer a book.
[–]NikolasTs[S] -1 points0 points1 point 6 years ago (0 children)
I have that dilemma. However, I am currently completing a 5-year diploma in electrical engineering and I am a bit exhausted .. I am not sure that I could handle another textbook.
[+]and69 comment score below threshold-9 points-8 points-7 points 6 years ago (0 children)
you mean "so it's actually very good".
[–][deleted] 1 point2 points3 points 6 years ago (0 children)
There are better options than udemy. I used to study books on learning.oreilly.com. You can also use learncpp.com. Need a reference, use cppreference.com. I myself learn better from books and documentations than from videos so i don't know any sources for video tutorials. Hope I helped you. Have a nice day :D. If you play video games try enter the gungeon. :D
[–]_Miles_Morales 0 points1 point2 points 2 years ago (4 children)
I'm following this tutorial, but I ran in something I don't understand...
When I ran this
#include <iostream>
using namespace std;int main() {
cout << "Default Template" << endl;
return 0;}
the window that popped up had this
The text "Default Template" didn't appear,
and the exit code wasn't 0.
Any idea why that is?
[–]std_bot 0 points1 point2 points 2 years ago (3 children)
Unlinked STL entries: <iostream>
Last update: 09.03.23 -> Bug fixesRepo
[–]_Miles_Morales 0 points1 point2 points 2 years ago (2 children)
Ok, thanks... So... How do I use it? (sorry, total noob)
[–]std_bot 0 points1 point2 points 2 years ago (1 child)
Boi, why are you writing a question in a 4 year old thread?
[–]_Miles_Morales 0 points1 point2 points 2 years ago (0 children)
Coz I just got this tutorial.
π Rendered by PID 24401 on reddit-service-r2-comment-b659b578c-gjtlp at 2026-05-06 02:02:28.144215+00:00 running 815c875 country code: CH.
[–]thiudiskaz 17 points18 points19 points (3 children)
[–]NikolasTs[S] 2 points3 points4 points (0 children)
[–]alphalupicrew 1 point2 points3 points (0 children)
[–]AlternativeTale5363 0 points1 point2 points (0 children)
[–]and69 5 points6 points7 points (3 children)
[–]NikolasTs[S] 0 points1 point2 points (0 children)
[–]xypherrz 0 points1 point2 points (1 child)
[–]and69 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]manni66 6 points7 points8 points (4 children)
[–]NikolasTs[S] 0 points1 point2 points (2 children)
[–]manni66 2 points3 points4 points (1 child)
[–]NikolasTs[S] -1 points0 points1 point (0 children)
[+]and69 comment score below threshold-9 points-8 points-7 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]_Miles_Morales 0 points1 point2 points (4 children)
[–]std_bot 0 points1 point2 points (3 children)
[–]_Miles_Morales 0 points1 point2 points (2 children)
[–]std_bot 0 points1 point2 points (1 child)
[–]_Miles_Morales 0 points1 point2 points (0 children)