r/cprogramming • • 1d ago

How should I learn c language?

/r/RGPV/comments/1y5sgv0/how_should_i_learn_c_language/
0 Upvotes

2 comments sorted by

1

u/Taewyth2 1d ago

You've got quite a lot of resources to learn C, so it really depends on what works best for you between books, videos, etc.

Two things that wouldn't change though:

  1. Get yourself an IDE/IDE-like environment, so that you don't have to bother much with the compilation toolchain while learning the language
  2. Type code. Especially if you go with online tutorial/courses don't just c/c the code, type it and change it to really get how it works and what it does.

1

u/gm310509 1d ago edited 1d ago

Some people take this the wrong way (and I don't mean it in a nasty or snarky sense), but you should start by learning google. You could literally google your post's title and get the answer and you will get it immediately.

You will find being able to use an online search engine - especially in the beginning will help to answer many questions you might have much quicker than social media can. For example, what does "this" error message mean? If that doesn't work, then by all means ask on a forum like this.

Also, have a look at the resources section of this subreddit (in the sidebar), there are several resources available right there for you to start with.

Once you do find a resource you feel comfortable with, the next thing is practice. If you see an example in a text book or video or whatever try replicating it (not copy and paste, rekey it) and try to get it working. If appropriate, try tweaking it to do something slightly different.