This is super late so you probably won’t be reading it, but maybe someone else will be interested some day.
You can order C++ primer 5th edition (not C++ primer plus or something), look it up on the internet. It is a big book about everything in C++. It takes you from beginner to intermediate I’d say, at least for the language knowledge. It has a really good reputation, but be careful because there is a C++ primer PLUS book and this one has a bad reputation (didn’t read it myself), it’s not from the same people.
There is also a book made by the guy who made C++ (Bjarne Stroustrup) which is great to understand the language.
For C I don’t really know, I can tell you that there is a book made by the ones who made it too but I’ve never really got into C that much.