r/AskProgramming • u/Realistic_Debate1704 • Sep 19 '26
Career/Edu Looking for advice on learning method
Hey everyone! I'm a beginner learning C/C++. I've covered the basics, arrays, pointers, and OOP (still studying them).
Should I build small projects, learn concepts as needed, and gradually move to bigger projects—or learn fromm tutorials first and then start building accordingly ?
Looking for sincere advice from experienced programmers...
2
Upvotes
4
u/Shep_Alderson Sep 19 '26
Absolutely go with projects, preferably something you actually want or need in your life. You learn so much more and much faster when you have something you’re trying to aim toward and build. Even if you never complete it, the journey will help you learn.
2
u/iSnapThere4iAm Sep 19 '26
Think of something you’d like to build. And then build it. Fail every step of the way. Learn.
Repeat ad nauseam.
2
u/DDDDarky Sep 20 '26
First of all, note that there is no such thing as c/c++, so make up your mind on what are you actually doing, learn from legitimate sources (not from youtube tutorials and such shit) and definitely practice.
2
u/fuzzynyanko Sep 20 '26
Alternate between projects and tutorials. Information can be very hard to retain, but if you can apply them, and more importantly, if you can enjoy development, things will stick easier
2
u/xplorerex Sep 20 '26 edited Sep 20 '26
As a prolific software engineer with a hunger for languages and learning, the best way for me has been projects I want to make. Projects of passion are good because you know what you want, so have an end goal you can recognise.
Honestly, start easy and work up. Over complicating things early on will mean you wont learn anything. I would go so far as worrying about OOP later on, and only doing 1 language at a time. Out of those 2, I would learn C first. Once you know C, you will pickup C++ easily. The same isnt said for the other way around (most languages are based on C, so makes everything generally easier to learn).
2
u/Upstairs-Project2756 Sep 20 '26
pick C or pick C++. Drop the other one.
build projects and learn concepts when your build fails. I start a project, write code until it breaks, then go read documentation about pointers or OOP to fix the error. I avoid video tutorials because I forget everything from them. I use cppreference for C++ or cplusplus.com for C and read those pages when my compiler throws errors
1
u/johnpeters42 Sep 20 '26
First thing you should do is put down the AI. The cadence is super obvious. Just post in your native language and let Reddit translation deal with it for others.
2
u/Positive_Luck909 Sep 20 '26
I say do what you find fun. If that's solving a problem, cool. If that's passing a test, great. If it's being creative, awesome.
There are a ton of great programming video games out there, as well as educational apps which have very game like format. These are by far my favourite way to brush up my skills. Projects are cool and all, but I do those for a living. For me the fun part is in the minutia.
2
u/Low_Newspaper7633 Sep 21 '26
absolutely go with projects. if you go with tutorials it can lead to tutorial hell and that is genuinely harder to get out of than to quit smoking
1
u/[deleted] Sep 22 '26
[removed] — view removed comment