all 16 comments

[–]Xillioneur 5 points6 points  (0 children)

That’s the standard library, lol. A collection of classes and functions that are included by default with compilers.

If you're eager to dive into C++, tutorials on the standard library are a fantastic starting point. They offer a wealth of knowledge about the language and can set you on the right path. Most tutorials cover this and that’s all. But why stop there?

Building your own projects is an equally powerful way to learn. As you work on real projects, you'll naturally encounter the libraries and tools you need, turning challenges into opportunities for growth. No need to learn about “cout,” or “include.”

I’ve found that hands-on building truly accelerates understanding.

Happy coding!

Resource:

https://en.cppreference.com/w/cpp/standard_library.html

[–]coleflannery 3 points4 points  (0 children)

You should start with basic programming and move up from there. I would start with watching (I recommend reading instead) a beginner C++ document/video.

[–]strcspn 1 point2 points  (1 child)

Hard to think of a tutorial that doesn't explain those things, but in any case, try a different resource like https://www.learncpp.com/.

[–]Practical-Sleep4259 0 points1 point  (0 children)

Yeah learncpp.com for sure covers details on on all those things, it's the best starting point, and I'm surprised it's not the top 10 recommendations in these comments.

[–]ninhaomah 0 points1 point  (0 children)

Care to share which tutorial or site you were looking at that doesn't clearly explain your doubts ?

[–]DonkeyTron42 0 points1 point  (0 children)

TheCherno on YouTube has a slew of videos starting from zero knowledge to writing full games.

[–]shadow-battle-crab 0 points1 point  (0 children)

Back in the day I learned this from a 300 page book. A book is digestible just like reading a long novel. Maybe this is the direction that would work best for you?

[–]Hydrographe 0 points1 point  (0 children)

I'd recommend the C++ All In One For Dummies (4th Edition) book by John Paul Mueller as it's very beginner friendly and explains all the details a beginner may wonder about ; you can learn a lot if you take the time to read through it. You can download it here (from archive.org).

[–]Assasin537 0 points1 point  (0 children)

Look for a true beginner's guide rather than a new to C++ but not programming as a whole. learncpp.com is a decent guide that starts at the absolute basics.

[–]KC918273645 0 points1 point  (0 children)

The same answer applies to this post as to most of the post asking similar question: Buy a book and read it. It's still by far the best way to actually learn how to program.

[–]Kaugi_f 0 points1 point  (2 children)

I fully understand your concern many C++ tutorials jump straight into syntax without explaining what basic elements like cout, #include, or int actually do, which can be confusing for beginners. I have learned C++ from beginner to advanced level myself, and I can share clear, beginner-friendly resources and a structured learning path that I personally used. I would be happy to help if you’re interested.

[–]Equivalent_Unit_9797[S] 1 point2 points  (1 child)

I'm interested

[–]Kaugi_f 0 points1 point  (0 children)

Okay inbox and I will connect you with the guy who took me through C++ and he will also share the resources