- Oct 27, 2007
- 17,009
- 5
- 0
Well I'm not too pissed because I still got 85% in a C assignment I handed in a couple of weeks ago. But I had missed a couple of classes and I didn't really put in enough effort to catch up, and a silly error cost me a bunch of marks in style.
When referencing members of structs I was using wacky pointer notation because I happened to have missed the classes on arrow notation. So if I have a struct named Person with an int age, I was referencing age using (*person1).age instead of person1->age
Stupid mistake! Sorry, this isn't really much of a programming Q&A type thread, just wanted to blow off some steam
When referencing members of structs I was using wacky pointer notation because I happened to have missed the classes on arrow notation. So if I have a struct named Person with an int age, I was referencing age using (*person1).age instead of person1->age
Stupid mistake! Sorry, this isn't really much of a programming Q&A type thread, just wanted to blow off some steam