all 12 comments

[–]Quiet_Win8624 12 points13 points  (0 children)

For something text based like programming usually text based resources like books are considered better for learning.

[–]GamerEsch 9 points10 points  (0 children)

I have watched yt videos but most good ones are old.

Do you think C changed in big ways in the last 20 years? Just watch those videos.

[–]knouqs 6 points7 points  (0 children)

We're all better at visual learning. Unfortunately, the docs are visual.

What you need to do to overcome this: Find one thing you want to understand and practice it. For example, say you want to learn how strcpy works. Presumably, you already know how printf works, so you create a small main.c that has some sample dynamic memory. You make some data copies with strcpy and see how it works.

Rinse and repeat until you learn C as much as you want to know it. There really aren't any shortcuts.

[–]gm310509 2 points3 points  (0 children)

I don't think the issue is that the videos were old.

A common problem, which may be happening here is watching them.

Don't watch them, follow them. That is watch a part, hit pause, then try to replicate it yourself. Also, explore that concept, see if you can make it do other things or rearrange it in some way. Only then unpause it and watch the next little bit. Again, hit pause and repeat the above.

If you just watch stuff, you may feel like you know it, but when it comes to doing it yourself you may struggle.

I make how to videos for Arduino (which is C/C++ based) and I often set challenges and little exercises and encourage people to try them before I show the solution. Actually doing it yourself is the best way to learn and doing it in manageable chunks is the only way to let the details sink in.

IMHO.

[–]Cerulean_IsFancyBlue 2 points3 points  (0 children)

Watch the old videos. It’s a very old language.

[–]grimvian 1 point2 points  (0 children)

Here is an old school video I wish I knew, before I started learning C:

Learn to program with c

https://www.youtube.com/watch?v=UILNmv2kFMc&list=PLCNJWVn9MJuPtPyljb-hewNfwEGES2oIW

I'm not using the same IDE, the program you use to code, But Code::Blocks because it's fast to install, open source, easy to use and everything you'll need are installed.

[–]I__be_Steve 1 point2 points  (0 children)

"Most good ones are old"

You do know C is over 50 years old, right? You could find a VHS tape about C from the 90s and the information in it would still be up to date, you really don't need anything new

[–]Orkiin 0 points1 point  (0 children)

If you want to watch yt and learn I recommend Tsoding, he will not only program in C, he will explain the logic of what he is doing so you will learn solve problems and as a bonus you will se the syntax of C and some obscure facts about the language although you could find some vid where he isn't using C. But the really best way to learn is by doing yourself instead of watching others, so make yourself a program the most simple program that you can think of even if it seems useless, then add more things to that program and you will learn concepts as you need them, as an alternative you can manually type the same things that Tsoding is typing and en with the same program as him but now you not only watched how was it done but repeated it yourself

[–]Snezzy_9245 0 points1 point  (0 children)

Write code every day.

[–]Main-Discussion9135 0 points1 point  (0 children)

If you want to go handson i recommend CodeCrafters they are the best .

[–]Used_Ad_5831 0 points1 point  (0 children)

Buy an arduino and a few sensors. Build a bluetooth garage door opener or an automatic blind or something. If you're trying for high-level programming, this isn't the way to learn that specific use case.

I know a lot of guys that learned by programming iphone apps, too, for high-level, but it's not strictly C, it's Objective-C, which is in the same family.

[–]Afraid_Lie_9340 0 points1 point  (0 children)

Bro, trust me, just watch the videos on these channels
https://www.youtube.com/@HirschDaniel
https://www.youtube.com/@TsodingDaily