I'm not a C++ dev, but I would recommend JetBrain's CLion IDE for C/C++ development. It has great integration with build tools, debugger, valgrind, iperf(for profiling). It's a bit pricy, but it's possible to redo the free trial indefinitely.
Ask HN: I whant to Learn C++ not Rust!!
11–20 of 40 posts
They used to have free licenses for students, too. Not sure if that's available or useful for OP.
Re: Ask HN: I whant to Learn C++ not Rust!!
#12There is no easy way. You must work through https://en.cppreference.com/w/
Re: Ask HN: I whant to Learn C++ not Rust!!
#13Re: Ask HN: I whant to Learn C++ not Rust!!
#14There is no easy way. You must work through https://en.cppreference.com/w/
This is such bad advice that I think it's a joke. You don't read the reference to learn a language.
Re: Ask HN: I whant to Learn C++ not Rust!!
#15It won't help you learn C++ from scratch, but once you know a bit about it, the Abseil tips published by Google are a remarkably useful resource to learn best practices and modern C++: https://abseil.io/tips/
They are one of the main tools used internally at Google to ensure engineers who have to use C++ stay on top of language evolution and avoid common pitfalls.
Re: Ask HN: I whant to Learn C++ not Rust!!
#16Re: Ask HN: I whant to Learn C++ not Rust!!
#17Most importantly, code something in c++! Being "book-smart" with nothing to show for it is pretty much useless. A simple Snake or Tetris clone in SDL is a super rewarding first project, or you could give Advent of Code a go as it lets you solve a lot of cool puzzles that fit in a couple of hours at worst.
As for books, I can recommend Effective Modern C++ by Scott Meyers. CppCast is a great podcast that can get you up to speed on the C++ ecosystem.
Re: Ask HN: I whant to Learn C++ not Rust!!
#18There is no easy way. You must work through https://en.cppreference.com/w/
f****!
:')
Re: Ask HN: I whant to Learn C++ not Rust!!
#19All of the resources I used to learn C++ are probably obsolete at this point, so I can't give any advice on how to get started, but I highly recommend reading Effective Modern C++ after you learn the basics, which covers a lot of best practices.
Re: Ask HN: I whant to Learn C++ not Rust!!
#20Most importantly, code something in c++! Being "book-smart" with nothing to show for it is pretty much useless. A simple Snake or Tetris clone in SDL is a super rewarding first project, or you could give Advent of Code a go as it lets you solve a lot of cool puzzles that fit in a couple of hours at worst. As for books, I can recommend Effective Modern C++ by Scott Meyers. CppCast is a great podcast that can get you u…
This is great advice!