This is a repository where I start off by learning how to write quality C++ code. This is my background for reference
- Most comfortable writing Python
- Familiar with OOP and DSA concepts
- Limited experience with compile-based languages (e.g. Java, last written during CS2030S at NUS)
This repository is for experienced coders who are transition from a run-time based language like Python to a compile-based language. I will not be covering the basic concepts and algorithms in detail. I will also avoid using AI to write large sections of code. The most that I will use is Github Copilot's autocomplete function. I suggest the reader to do the same to develop an understanding of the written code and functions.
As usual, when it comes to technical content, the most reliable source for answers is Reddit.
/user/lyeOnline has provided a fantastic answer in this thread on "Best resources to learn C++ (2022)". Following his guidance, this is a summary of the response. The best resources to learn from are,
- learncpp - best coverage of C++ practices
- studyplan.dev/cpp - more breadth compared to learncpp, but may lack depth.
- hackingcpp - has good overview / cheatsheets.
/user/lyeOnline also wrote another thread on "C++ (Youtube) video tutorials", but cautions that most videos are subpar and taught by individuals without prior teaching experience. The most valuable tutorial I am guessing would be Mike Shah's C++ Tutorial Series.
There are also books on C++ on this stackoverflow thread, The Definitive C++ Book Guide and List. However, I find it hard to learn efficiently through books on a dynamic topic like coding languages. It is the same with languages, reading and speaking are two completely different skills.
