Saturday, May 22, 2010

C programming, what wrong with this?

#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

No comments:

Post a Comment