- Code: Select all
void Type(const char *message, ...)
{
sprintf(text, message);
}
Now when you do this:
Type("Message, %d", x);
or even another variable, it works but... the numbers always come up to this:
26265352
Any ideas on how to fix this?
void Type(const char *message, ...)
{
sprintf(text, message);
}
void Type(char A[256])
{
sprintf(actor.text,A);
}
Type("any text you want here");
Users browsing this forum: No registered users and 1 guest