Hello.

I was wondering how i can output numbers using a MessageBox. In DOS i might do something like this (very simple example):

Code:
printf("The cube of %f is: %f\n", input, answer);
But if i try that in a message box i get errors stating that it can't convert numbers to characters. How would i get around that?

Also, i get a weird error... when i ever i try and use 4 parameters in a MessageBox function, i recieve an error stating that the function can't handle 4 parameters, but in the Win32 API Reference, it does. What gives?

And yes, i am new to windows programming