Well, first of all HTML isn't a programming language so you shouldn't look at it the same way as these, it's a markup language.
Second of all, with all due respect, you should get your head out of your ass. You haven't "mastered" HTML (it's rare to master a language), and you surely will NOT master C++. People have been coding in C++ for years and aren't "masters". (You probably won't be delving deep into C++ anyways in that class, it's likely you won't even cover pointers).
Now, as for resources there's tons for all of those languages, but here's a good one. Pretty much the most popular resource for it out there.