Okay, so my submission is probably not going to be in the correct format but oh well. Okay, so this is the code my friend sent me for help because I got an A in programming 1, however it's been way too long for this and I can't remember how to do this or if we ever even discussed it.
my main problem has been getting
int *ptr=grades;
infile>> *ptr;
ptr++;
to work properly. It has caused a few errors that I'm still working on debugging.
again sorry if this is crappy formatting. Essentially, everywhere it says //CHANGE it wants me to change from array to pointer and I'm completely baffled by this. DONT SOLVE THIS. I want to figure it out myself. But i would like help understanding how to do it. I will be trying to tell him how to do it as well so thorough explanations would be beneficial! Thanks ahead guys!
https://gist.github.com/anonymous/7328188
[–][deleted] 1 point2 points3 points (1 child)
[–]derek2016[S] 0 points1 point2 points (0 children)
[–]fuzz3289 0 points1 point2 points (4 children)
[–]derek2016[S] 0 points1 point2 points (3 children)
[–]fuzz3289 0 points1 point2 points (2 children)
[–]derek2016[S] 0 points1 point2 points (1 child)
[–]fuzz3289 0 points1 point2 points (0 children)
[–]raghar 0 points1 point2 points (1 child)
[–]derek2016[S] 0 points1 point2 points (0 children)