ahhh that was it, thank you very much. Those precedence errors can really catch a C newbie like me off guard.
And just for clarification this is a school assignment which states we have to double...
Type: Posts; User: Perogy
ahhh that was it, thank you very much. Those precedence errors can really catch a C newbie like me off guard.
And just for clarification this is a school assignment which states we have to double...
Ok here's what I've got now, I have made some minor revisions to the structure and names of stuff so it might be a little hard to follow from the previous example, but nothing too major.
The...
I don't see why item would have to be a pointer though, it just gets stored in the array and that's that. Let me know if I'm wrong.
I'll post the entire updated code shortly.
ahhh ok I see what you mean, just so we can change the original it needs to be passed in as an address. I did that and now it seems to work perfectly for the first time I use add but if I use it...
sorry but I don't think I'm quite following, you mean that array should be a double pointer??
that worked! Thanks a million, I can't believe it was something so trivial.
thanks for the reply. hmmm.. removed that and it doesn't seem to make a difference
Hello all, I am creating a program that uses a dynamic array to store students. My code compiles but i keep getting a runtime error which prints out a bunch of stuff, but the main thing being:
***...