r/cprogramming • • Jul 31 '26

After one week learning C

Yeah, my anxiety is hitting pretty hard right now... lol.

0 Upvotes

17 comments sorted by

View all comments

Show parent comment

3

u/SmokeMuch7356 Jul 31 '26

Please note, "close to the hardware" isn't that close. It mainly means that C's abstractions (types and operations) are based on what real hardware provides; it's why you don't have arbitrary precision numerical types, it's why you don't have metadata in any object types, it's why you don't get a catchable exception when you access an array out of bounds or dereference a null pointer or stuff like that.

C is one of very few high-level languages I know of that exposes pointer types and operations, and pointers are fundamental to programming in C; you can't write useful code without them, so the sooner you understand what they are and how they work the better.

Create bookmarks to the following and have them open while you're programming:

These are not tutorials; the first is simply a handy reference, the second is the language definition (technically, the latest freely available not-official draft of the language definition). Don't expect it all to make sense immediately, but it will help answer all the "why the f..." questions you will inevitably have.

2

u/M0NSTR01969 Jul 31 '26

Thank you very much!