#define WINDOW_SIZE_X "800"
#define WINDOW_SIZE_Y "600"
.
.
.
.
initwindow((int)WINDOW_SIZE_X, (int)WINDOW_SIZE_Y);
Program opens max size window, i.e. ignores the define part
C programming, what wrong with this?
Don't put quotes around the values.
covent garden
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment