I understand the basics of allegro 5's draw text routines, but was wondering if it's possible to use text variables when using the routines?
example, I'm hoping to do something similar to this:
string answer = "blahblah";
al_draw_textf(font18, al_map_rgb(255, 255, 255), WIDTH / 2, HEIGHT / 2, ALLEGRO_ALIGN_CENTRE, "The answer is: %?", answer);
Any help is greatly appreciated