Lurker News
Do you have some good advice or know any useful resources to learn in a proper way how to code in C++? For the context, I know some C, but C++ seems a different kind of beast, and it's easy to get lost in the huge variety of features and libraries it offers.

Comments (173) 47 threads

Earlier comments
prando#
I usually get bogged down by the syntax of very many complex things that gets me lose the focus on the motive of the code. I wish we had an efficient way to learn what a declaration means. (On the lines of cdecl)
ndj7#
What's the best way to teach modern C++ as a first programming language?

I'm at CU Boulder and their curriculum is outdated (90s) and backwards. What resources could I point the professors towards?

TheArcane2 replies#
Related: Any good websites to practice C++ with challenges? I've heard some things about CodeWars, but are there any other?
jxub#
I think you can use C++ in code challenges in all major coding riddles practice sites eg. Hackerrank, Leetcode and TopCoder.
i45_n5#
open.kattis.com is quite good. compiles with -std=gnu++11
ebspelman1 reply#
I don't see openFrameworks mentioned here: http://openframeworks.cc/

Probably the most comprehensive open-source creative coding framework. Maybe most helpful for familiarity with graphics programming / OpenGL, but it really extends to all types of possible interactions. Maintained by an awesome group of people.

tzahola#
OpenFrameworks has nothing to do with _modern_ C++. It’s a framework for laymen artists that happens to be written in C++. It won’t teach you about move semantics, lambdas, unique_ptr, for-in loops, etc.

Load more comments