[SDL] SDL fullscreen problem
Rainer Deyke
rainerd at eldwood.com
Tue Sep 4 20:13:13 PDT 2007
Torsten Giebl wrote:
> Use #include "SDL.h" and use it after stdio.h and stdlib.h
Why (in that order)?
Usually you would order the #includes from high level to low level, from
local/project headers to system headers. If your file is called X.c,
then your first #include should be X.h. This helps catch header
dependency errors.
SDL.h is at a higher level than stdio.h and stdlib.h (i.e. SDL can use
stdio and stdlib, but the C system headers cannot use SDL), so it should
go above stdio.h and stdlib.h. Right?
--
Rainer Deyke - rainerd at eldwood.com
More information about the SDL
mailing list