GAMES PC DOWNLOAD FREE FULL

GAME

Marmalade SDK: Output Debug messages

 

If you want to output debug messages in your output console in Visual studio, you can do it in two ways:

  1. Use standard C++ output stream cout
    cout<<"Your Message"<<endl;
  2. use the Marmalade  s3eDebug module: first include the header:
    #include "s3eDebug.h"
    then
    s3eDebugOutputString("Your Message");
    to display integers you have to convert them to C style strings first:
    int x=10;
    char buffer[10];
    //convert the int to a char array
    sprintf(buffer,"%d",x);
    s3eDebugOutputString(buffer);
Marmalade SDK: Output Debug messages 4.5 5 Thanh Nguyen If you want to output debug messages in your output console in Visual studio, you can do it in two ways: Use standard C++ output stream cou...


No comments:

Post a Comment

NEW GAME

Powered by Blogger.

Labels

Quotes

1. Những cô gái giống như những tên miền Internet, những tên đẹp mà ta thích đã có chủ nhân rồi!


Popular Posts