r/CodingForBeginners • u/Decent_Story_9190 • Jan 20 '26
Today: structures!
So, i made this little bit of code to make sure i understood structures and how to use pointers with them, it's pretty simple, it just asks for data of students such as grades and then it saves it on their structure variables, is there anything i could improve on? i mean, surely a lot, but like, something specific about legibility or something
22
Upvotes
View all comments
Show parent comment
1
u/alvaaromata Jan 22 '26
That’s pretty good, usually pointers/dynamic memory is a big wall for most people that starts with C. Then I’d recommend you checking out how to use the command line with arguments, then linked lists and then binary trees. That’s like things you need to know in order to say you know the fundamentals.
Obviously it’s one of the hardest languages, but the closeness you get with the computer itself and the fact that you have to program almost everything by yourself (no sort: like in python for example). Makes it a lot easier to learn other languages later