> atoi("SDL_RETURN") == SDL_RETURN
>
> true for all SDLKeys?
atoi("random string") is always zero.
atoi("13") is 13 and atoi("15.2") is 15.
Strings and numbers are not interchangable like that, and SDLK_RETURN
means nothing at runtime; when compiling it gets replaced with a number
(13, I think).
SDL is a bad place to start learning C.
--ryan.