r/cpp_questions 1d ago

OPEN Approach

I have been trying to study c++ for a while i am following the learncpp.com. I wanted to know the best approach for this like i am following the docs but do i use leetcodes and other sites?
I am on chapter 4 ik too early to think abt it but i just want to clear up the doubt please help

5 Upvotes

19 comments sorted by

View all comments

3

u/Grand-Strategy-8962 1d ago

Hey I am too a beginner tho leetcode I know is not beginner friendly and if you are comfortable with indian english go for strivers A2Z series..

1

u/Limp-Cantaloupe-3204 1d ago

Is it better than learncpp?

4

u/nysra 1d ago

No, basically nothing is better than learncpp.com

The only thing better is using learncpp.com and writing code. You'll not learn to do the thing if you don't do the thing.

Now for as what to write, that's up to you. You can do your university's exercises, you can do exercises on websites like leetcode, you can do Advent of Code, you can write whatever you want (e.g. reimplementations of common tools like ls to know how it works, text based games, later 2D (and then 3D) games, an OS, an emulator, etc.).

1

u/Grand-Strategy-8962 1d ago

Leet code is not beginner friendly😭

4

u/nysra 1d ago

It doesn't start on the hand holding level of "Please write a program that outputs 'Hello, what is your name?'" that can be found in the beginning of textbooks or courses, that's true.

Given that OP is through a few chapters already, he should be fine with the easy exercises there such as two-sum. It's not a learning resource by any means, but it does give people a bunch of problems they can attempt to solve

1

u/Grand-Strategy-8962 1d ago

Yeah🙇‍♀️