Learn to code C/C++

All this excitement about the open source OS, and talk of the possibility it brings, got me thinking of trying to learn something new. I know it’s a monumental task and that I will probably fail miserably, but why not give it a go. :slight_smile: Could pick up a new perspective along the way.
So this brings me to the first question. Where to start?
What do the developers recommend, is the best way to go about learnig C/C++ (concrete courses, books…). I know there are easier languages to learn, but I’m sticking with this choice :slight_smile:

2 Likes

I will suggest you to stay away from C++ as your first language, for grasping basic programming concepts, algorithms and data structures I’ll suggest either C or something arguably easier like Python or Go. For a quick overview of the C language syntax and features check out https://learnxinyminutes.com/docs/c/

If you want to get serious read good books on the subject, find a copy of The C Programming Language written by Brian Kernighan and Dennis Ritchie (the creator of C) and/or buy https://learncodethehardway.org/c/.
If you prefer video content here are two playlist from MIT and Stanford:
https://www.youtube.com/playlist?list=PLo7g9OE1yqEKY4KxAiPpqA9gp7XOcPQ2V
https://www.youtube.com/playlist?list=PLD28639E2FFC4B86A

You might want/need to complement your learning with some Operating System, Computer Architecture and Compilers theory. Also getting some basic knowledge of Unix utilities, command line and scripting along the way will be ideal.
I leave here more resources for self-studying Computer Science in general:


https://teachyourselfcs.com/
https://missing.csail.mit.edu/

https://www.reddit.com/r/learnprogramming/
https://www.reddit.com/r/computerscience/

This is just the tip of the iceberg! Hope you find something useful and start as soon as you can. Keep it up!

5 Likes

All good advice above :arrow_up:

Even though K&R is the C bible, I would suggest something like ”C a modern approach 2nd ed.” by K.N King if you are new to programming, and are set on the C language.

3 Likes

This is awesome!
Thank you very much for taking the time to provide these resources. Now I have a solid starting point which helps a lot.

1 Like

All are the good advice .

1 Like

@roxx time passing by - did you manage to learn those languages a bit? Do you consider yourself C/C++ developer already? :crossed_fingers:
Did you have a chance to spend some time with MuditaOS? :grin:

2 Likes