Reddit Reddit reviews C++ Programming for the Absolute Beginner

We found 3 Reddit comments about C++ Programming for the Absolute Beginner. Here are the top ones, ranked by their Reddit score.

Computers & Technology
Books
Computer Programming
Introductory & Beginning Programming
C++ Programming for the Absolute Beginner
Cengage Learning
Check price on Amazon

3 Reddit comments about C++ Programming for the Absolute Beginner:

u/Infraam · 1 pointr/cpp_questions

I had similar issues when doing my C++ course in university. I would often have a lesson where the teacher would teach some concept or C++ tool, but it would require prior knowledge of other stuff that was never mentioned in any previous lessons. Often the response was: "Well you should know about this by now if you've been practising.."

 

I would strongly recommend you looking at beginner C++ books and websites such as http://www.learncpp.com/.

I went through that whole website, and read two beginner C++ books (I read this, and this.. they are pretty old now but helped a lot back in the day). I spent as much time as I could in the evenings and weekends going through them constantly, and eventually it all started to sink in.

Quick tips I could give since they were my troubles back in uni;

  • C and C++ are very different, mixing them both can make things difficult down the line. Try to stay with just writing C++ only.
  • Theres something called the standard library which comes with a massive library of tools to make your life easier. Never make anything from scratch if the standard already has it for you. stuff like this looks like "std::".

                Doing something with a list, array or container? use things like std::vector< > and std::map< , >

               
    Doing anything with strings? use std::string

               * Manipulating data in any way? the standard has the <algorithm> header to do plenty of essentials, like sorting an array (eg: std::sort (myvector.begin(), myvector.end());

  • If you arent already, then try using an IDE for coding. I use Visual Studio and it gives brilliant syntax highlighting, intellisense, autocomplete, debugging etc. Coding with this really helped me learn how the language works.