I think what you're ignoring is that your snippets are exceedingly simple, and not interesting or novel to anybody who comments regularly here. I don't mean that to be an insult, it's just that I don't understand why you keep posting them. Unless you have a question, they're not worth discussing. If you had declared player MyPlayer and then attempted to set the agi property by MyPlayer->agi and wondered why it wouldn't compile, there might be some value to this thread.
You keep comparing yourself to some less experienced friend too, which is kind of weird. He can't be more than a few months behind you, unless you have an extensive background in Easytrieve or something.