How to put text in graphic mode

This is a discussion on How to put text in graphic mode within the Game Programming forums, part of the General Programming Boards category; How can I print a string with a variable (like in printf("hi %s",name)) using the graphics mods that graphics.h has?. ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    75

    Question How to put text in graphic mode

    How can I print a string with a variable (like in printf("hi %s",name)) using the graphics mods that graphics.h has?.

    That header has outtext() and outtextxy() but you can show variables, it can only show strings.
    ---Programming is like roaming, you never know where you'll end at------

    If 'here' is pronounced as 'hear', why 'there' isnt pronounced as 'dear'??

    paninaro3000@yahoo.com

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    chek my reply in your 'Graphics.h question' thread.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Small HTML question
    By Thantos in forum Tech Board
    Replies: 4
    Last Post: 12-28-2003, 11:37 PM
  2. Read word from text file (It is an essay)
    By forfor in forum C Programming
    Replies: 7
    Last Post: 05-08-2003, 11:45 AM
  3. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 09:45 PM
  4. Accessing a Specific Text Line Inside CEditView :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-14-2002, 08:12 PM
  5. Text Mode to more than 25 lines
    By karsch1 in forum C Programming
    Replies: 3
    Last Post: 08-31-2001, 01:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21