What would be the best way to learn C/C++ from a self taught perspective? I’ve been fascinated with learning about microcontrollers and the things they can do.

Follow

@Psyklone I did it by first reading K&R and doing the exercises and then wrote the tool I always wanted. An approach I'd wholeheartedly recommend. C++ I decided to skip in favor of Rust :)

@xand What exactly is K&R? I really like your approach and that’s probably what would be my best bet to fully grasp the concepts. I’ve been seeing people lean more towards Rust over C++ too and from I’ve read, they accomplish the same things.

@Psyklone oh, it's the classic book on c: goodreads.com/book/show/515601 probably best if you already have some programming experience, but i wouldn't recommend c at all without that

@xand the extent of my programming knowledge is a little bit of JavaScript and Python. I’d still consider myself a beginner but efficient enough to at least look at code and slightly understand what it’s doing and why. Thank you for the recommendation though, I’ll be sure to check it out!

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.