writing text to an ALLEGRO_FILE
William Labbett


trying to write some formatted text strings to an ALLEGRO_FILE but I'm not sure which functions to use.

I thought they'd be something like an fprintf() function...

What should I do ?

Neil Walker

format the string first then use al_fwrite?

[edit]if you're looking, that edit wasn't me putting in a smiley, it was me missing the submit button. This is what revisions do to you, they make you paranoid ;)

Thomas Fjellstrom

al_fputs should work.


Still, I can see a case for al_fprintf()...

Thread #607052. Printed from Allegro.cc