Sorry for the simple question...
How would I pass a hex-value through a function?
I mean, what type would I use?
Currently I have two different functions. One
is used to change the screen resolution to 13h,
and the other is to change it back to 03h. I would
like to only have one function and pass the
screen-mode through that.
=============================================
Instead of (2 seperate functions):
ChangeScreenMode13();
ChangeScreenMode03();
I would like (1 function):
ChangeScreenMode(0x13);
ChangeScreenMode(0x03);
=============================================
int ChangeScreenMode(TYPE ScreenMode);
What would TYPE be? Does it matter?
Much Obliged,
static.