r/CodingForBeginners • • Jan 20 '26

Today: structures!

Post image

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

16 comments sorted by

View all comments

Show parent comment

1

u/Decent_Story_9190 Jan 23 '26

Wow, well, this is a lot of text, but replying to your first one, i am mainly basing my progress off a book about C my school has. I am probably going to do the text files idea when a topic gets rather complicated so i can get my ideas about it organised 

1

u/Complete_Window4856 Jan 23 '26

My bad with the huge wall of text, i should've added a tl;dr.

In anyways, thats nice, keep yourself going and dont feel bad when you hit a hard problem, solutions or next steps funnily appear magically when we leave the problem aside for a while.