Hello everyone. I want to learn more about C++ Programming. Maybe, It's hard for me. Can you give me some information? Thanks.
Hello everyone. I want to learn more about C++ Programming. Maybe, It's hard for me. Can you give me some information? Thanks.
"...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson
Be aware that many so-called C++ tutorials still teach you old c stuff like dynamic memory management, pointers.. which you don't need in modern C++.
C++ Primer 5th ed.
C++ Primer: Amazon.co.uk: Stanley B. Lippman, Josee Lajoie, Barbara E. Moo: 8601300202778: Books
The C++ Programming Language Bjarne Stroustrup
The C++ Programming Language: Amazon.co.uk: Bjarne Stroustrup: 0000321563840: Books
If you find C++ hard (which it is compared to other languages) then consider learning Python, C# or Java instead
I found learncpp.com quite useful myself. It gives piecemeal introduction to many topics. I second the suggestion of starting with Python, if you feel C++ might be a little steep. The online community is very beginner friendly, which isn't necessarily the case for languages like C++
I think learning about pointers (at least) is unavoidable, but the statement probably refers to the use of new/delete along with raw-pointers in place of smart pointers and self-allocating containers. That's bad style, yet some resources still teach it that way.
Yes exactly, I should have been a bit clearer.but the statement probably refers to the use of new/delete along with raw-pointers in place of smart pointers and self-allocating containers.
For both C and C++, I would recommend you to go for JanBask Training. It best explains every topic in a very simple way from basics while covering all the concepts. Also, you can practice questions related to a topic at the same time you are learning it from its practice section where questions of different levels are given for each topic. Through its course material, it is easy for any beginner to start the course from basics and then advance at their own pace.
If you are willing to learn by yourself you can download free course material to visit JanBask Training website.
Try this one "The c++ programming language" by Bjarne Stroustrrup. This should help you with the theoretical aspects of the language and once you start working on projects then StackOverflow is the best place to clear your practical doubts.