r/cpp_questions • u/Iamspyder0 • 5d ago
OPEN Best c++ books for both competitive programing and first time learning
I am a student . So c++ would be my first language and i want to learn it through books . But I can only afford one book in my budget . But if I need separate books for competitive programing and for first time learning please comment down below ( much appreciated). Thanks in advance
0
Upvotes
1
u/Just-Avocado-4089 5d ago
Why use books? Can learn everything online nowadays, is how I learned
1
u/DDDDarky 5d ago
Just learn things properly like a normal person (https://www.learncpp.com/) and when you are a pro with nothing better to do than playing games with the language you can look into competitive programming.
1
u/Ok_Lake8789 3d ago
I mean even books pdf are available online just saying.
I DON'T CONDONE PIRACY.
1
u/Discordbothost 3d ago
Contest books assume you can already write small programs. I'd spend the book budget on learning C++, then try the CSES Introductory Problems. CSES has the free Competitive Programmer's Handbook for when you hit a new topic.