Hi MeowZ,
sprintf() is a C string formatting function - it does'nt print anything!
If MouseX=100 then the output for my above example would store the formatted text "Mouse X: 100" in the buffer you declared as char buff[10] though you would have to increase the size of that buffer to something larger.
You would then print the text using bbText(0,20,buff)
Cheers,
Roy
sprintf() is a C string formatting function - it does'nt print anything!
If MouseX=100 then the output for my above example would store the formatted text "Mouse X: 100" in the buffer you declared as char buff[10] though you would have to increase the size of that buffer to something larger.
You would then print the text using bbText(0,20,buff)
Cheers,
Roy