Comment Comment by archfrog Is it me or is there a bug with pointers on the bottom of http://www.pjhutchison.org/tutorial/pointers.html?The author uses this code to dereference a pointer to a structure member: engine = *myvehicle->enginesize; Unless I've forgotten 30 years of C experience, I'd expect this to be: engine = myvehicle->enginesize; But it could be some peculiarity in the Amiga compiler.Now I just wish I had the money to buy an Amiga when I was a kid :-) parent archfrog 3 years ago
The author uses this code to dereference a pointer to a structure member:
Unless I've forgotten 30 years of C experience, I'd expect this to be: But it could be some peculiarity in the Amiga compiler.Now I just wish I had the money to buy an Amiga when I was a kid :-)