I am using SDL on Visual C++ 6.0, when I run a SDL program,
a prompt also appears… how do I make it desapear?
There’s a setting in Visual C++ for saying whether you want a "console"
application (a program with a prompt), or a windowed application (one
without). I know you can specify this on the “new project” menu, and I’m
not sure how to change it after that, but I’m sure there’s a way.
is there a way to change a color in a SDL_Surface? ex: in a surface I have
some red, and I whant to put it in green, how can I do this?
Take all the red pixels on the screen and make them green? If you’re using
an 8-bit color surface, you can manipulate the palette.
can I load the format TTF [True Type Fonts] to a SDL_Surface? if not,
is there another way to use TTF?
now, this one is off topic, so if u don’t want to respond, i will understand
how do I create a “global” variable, like tcout or cin?
If you haven’t gotten this, you might want to come back to SDL later.
static int this_is_a_variable_that_is_global_to_this_source_file;
(in other source files, or better yet in a header file included in those
other source files, you would want…
extern int this_is_a_global_variable;
…to make that visible to other source files.)