Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dbText. pls help me clean the ram after using it

Author
Message
haliop
User Banned
Posted: 16th Dec 2009 20:07
how to?
dbText(X,Y,dbStr()); whats the best way to handle the temp data saved by these commands on the ram..?

ive rad and rad about how terrible it is
can you help?

or offer another way of printing text with coordinates on screen?
Bran flakes91093
16
Years of Service
User Offline
Joined: 13th Sep 2008
Location: Crazy Land
Posted: 16th Dec 2009 20:38 Edited at: 16th Dec 2009 20:43


Or just use sprintf_s:



http://cplusplus.com/reference/clibrary/cstdio/sprintf/

Your_Health = (My_Mood == HAPPY) ? 100 : NULL;
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 16th Dec 2009 23:23
You could also make a function to convert it to a std::string then delete the temp data. like this:



New Site! Check it out \/

Login to post a reply

Server time is: 2024-11-20 07:30:27
Your offset time is: 2024-11-20 07:30:27