Heh, I do that kind of stuff all the time. APIs are always using
slightly different names from each other. (BREW uses “.dx” and ".dy"
for width and height of a rectangle, while SDL uses “.w” and “.h”).
It MAY be that Randy was looking at some little pseudo-code example, or
untested example code from a little how-to somewhere.
If so, Randy, you should have them correct /their/ typos.
But if not… yeah… check the docs first, next time! ;^)
-bill!On Sat, Jan 08, 2005 at 07:27:49PM +0100, Sebastian Beschke wrote:
Randy schrieb:
‘SDL_event’ : undeclared identifier
SDLK_ESC : undeclared identifier
error C2051: case expression not constant
Heh, I do that kind of stuff all the time. APIs are always using
slightly different names from each other. (BREW uses “.dx” and ".dy"
for width and height of a rectangle, while SDL uses “.w” and “.h”).
Yeah, me too. I wasn’t exactly trying to be rude. But whenever I get an
error that says “Unknown identifier”, the first thing I do is check for
misspellings.
But of course, handling error messages is something that must be learned
by experience.
It MAY be that Randy was looking at some little pseudo-code example, or
untested example code from a little how-to somewhere.
If so, Randy, you should have them correct /their/ typos.
True.
But if not… yeah… check the docs first, next time! ;^)
Heh, I do that kind of stuff all the time. APIs are always using
slightly different names from each other. (BREW uses “.dx” and ".dy"
for width and height of a rectangle, while SDL uses “.w” and “.h”).
Yeah, me too. I wasn’t exactly trying to be rude. But whenever I get an
error that says “Unknown identifier”, the first thing I do is check for
misspellings.
But of course, handling error messages is something that must be learned
by experience.
It MAY be that Randy was looking at some little pseudo-code example, or
untested example code from a little how-to somewhere.
If so, Randy, you should have them correct /their/ typos.
True.
But if not… yeah… check the docs first, next time! ;^)