Output from the variables with allegro.
i know only one function in allegro to output text(textout_ex) and i havent been able to figure out how to output data from variables. Ive heard a lot about a textprintf function that only applies to C but what can i use with my dev C++ to out a score etc. to the screen?
textprintf_ex() can still be used in C++ as long as you don't use C++ types in the call. Ex: textprintf_ex(/* stuff */, "%d", score); if score is an integer.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement