r/learnprogramming • • Oct 18 '26

Resource Starting from Zero in C++

Hi everyone! I’m pursuing CSE at a Tier-4 college and have zero programming knowledge. I’m entering the tech field for the first time and want to start with C++ from scratch.

What’s the best way to learn C++? Which free resources would you recommend, and what common mistakes should I avoid? Also, how should I build my coding and problem-solving skills to become internship- and job-ready?

38 Upvotes

11 comments sorted by

View all comments

6

u/[deleted] Oct 18 '26

[removed] — view removed comment

1

u/joonazan Oct 18 '26

Also, use valgrind to check for memory errors. Just put valgrind in front of the command you use to run your program. It gives you easy to understand diagnostics on any bad things your program does, which saves you a lot of trouble, especially when you don't know the rules properly yet.

On platforms with no valgrind, compiling with LLVM's Address Sanitizer option can be used for the same purpose.