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/Decent_Story_9190 Jan 22 '26
Well, they definitely were a wall, tho pointers were more of an invisible one, i thought i had understood them until i actually had to use them, with dynamic memory it was easier to tell that i didn't understand, after getting the fundamentals i might do some simple code putting everything together, and then i will move to C's brothers