#How to learn cpp ?
18 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
We generally recommend a good book to learn the necessary fundamentals:
To actually write and run C++ code, you will need a compiler, editor, and debugger. We strongly recommend to start out using an IDE, which will provide all these tools for you:
- [Visual Studio](#1165492293810257920 message)
- CLion
The wise programmer is told about the debugger and uses it.
The average programmer is told about the debugger and avoids it.
The foolish programmer is told about the debugger and laughs at it.
Mine was the opposite everyone was telling me not to do C++ as my first programming language cause it’s hard.
https://www.learncpp.com/ is a good place to start
Thank you
once you understand most of the essentials taught on that site, start working on some practice problems (leetcode / project euler) to start messing around with the language / stdlib / data structures / etc
Start making projects too after you understand the essentials
@jaunty nest Has your question been resolved? If so, type !solved :)
Can I learn by making a project ?
I want to create a packet sniffer and people told me that c++ can be a good thing to implement that
most of what you'd need to implement something like that will probably require a bit of C knowledge on top of C++ since the low level networking functionality will be implemented as platform specific C APIs (then the C++ would build the higher level functionality)
you can always start a bit smaller, but involving related functionality to work towards the end goal of writing a packet sniffer. as long as you have an understanding of networking at the socket level it shouldn't be too hard to do some experimenting with some of those networking APIs
either way you'll want to start with learning the language first though, or else it's just going to be an uphill battle to implement anything like that
I agree with you on the idea that it’s better to learn it first or it’ll be a mess. However, what projects do you suggest me to do ? And do you think in 3 months (the end of summer) I’ll be able to do something clean with this language ?
Even if 3 months is a short period, I still want to learn as much as possible and be ahead of other. Plus, a friend of mine has opened a fiverr shop as a freelance c/c++ developper and landed a job writing tests ( he codes since he’s 16 and now he’s 20) and me since I’m 18 but I want to change lol. Java doesn’t interest me anymore
just start and see where it takes you ^^
You right
