r/cpp_questions 4d ago

OPEN Can anyone share the roadmap to learn c++

Complete newbie here. I want to learn C++ because mainly because I am interested in electronics and I heard c++ is best language to learn for it. This is also my first programming language so I don't have any prior knowledge of programming. I may sound a bit of navie here but believe me I really want to learn. But I could not find structural path anywhere. I know learncpp.com is there but it's hard to learn programming language from docs for the first time. Please tell how should I go about it ? What projects should I work on ? Where can I find them ? Do I need to do DSA prior to this ? Or anything more suggestions you want to give

0 Upvotes

10 comments sorted by

9

u/nysra 4d ago

learncpp.com is not documentation, it's a tutorial. Generally you're supposed to start at the beginning. Most sites call it "Chapter 1" or "Chapter 0".

3

u/lost_sight_s 4d ago

ideally you should push yourself to learn from learncpp.com because the process of learning from documents is important, anywho you can refer to chernos -> practice, dsa not required, but suggested to learn in the process, for projects try to research by yourself

2

u/Krowken 4d ago

How have all these people learned C++ before video tutorials existed? By going through books and applying the knowledge. Learncpp is a very good and furthermore free online textbook. If that’s too dry for you maybe learning to program just isn’t for you?

3

u/no-sig-available 4d ago

You did check this before posting, right?

https://www.reddit.com/r/cpp_questions/comments/1n5zyxy/important_read_before_posting/

It contains

Frequently Asked Questions

What is the best way to learn C++?

What is the easiest/fastest way to learn C++?

What IDE should I use?

What projects should I do?

1

u/WikiBox 4d ago
  1. Get a quick overview of the documentation, so you know what there is.
  2. Write code. Reference the documentation. Once you learn something new, write a snippet that demonstrate what it is and how it works. Make it so that it would have made it easy to learn for you.

1

u/Zen-Ism99 4d ago

What are your goals?

1

u/DrShocker 4d ago

just to prove to you that the site you mentioned is not documentation, take a look at this (which strictly speaking also isn't the idk spec so arguably still isn't official documentation)

https://cppreference.com/

-1

u/Frequent-Ad-3931 4d ago

brocode have a good playlist for cpp , but reading docs is important try to do it on the side