Pages
Marmalade SDK: Output Debug messages
1:09 PM
Posted by Mina Samy
- Use standard C++ output stream cout
cout<<"Your Message"<<endl;
- use the Marmalade s3eDebug module:
first include the header:
#include "s3eDebug.h"
thens3eDebugOutputString("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);
Reactions: |
This entry was posted on October 4, 2009 at 12:14 pm, and is filed under
. Follow any responses to this post through RSS. You can leave a response, or trackback from your own site.
Subscribe to:
Post Comments (Atom)
Post a Comment