what is the use of textmode() in c++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • diyu26
    New Member
    • Jan 2013
    • 1

    what is the use of textmode() in c++

    i want to know what exactly is textmode() used for and what does textmode(c80) mean?
  • swapnali143
    New Member
    • Mar 2012
    • 34

    #2
    Textmode() is a function defined in conio.h........ .

    Changes screen mode (in text mode)

    Declaration: void textmode(int newmode);

    Remarks:
    textmode selects a specific text mode.

    You can give the text mode (the argument
    newmode) by using a symbolic constant from the
    enumeration type text_modes (defined in
    CONIO.H).

    If you use these constants, you must include
    CONIO.H.

    When textmode is called, the current window is
    reset to the entire screen, and the current
    text attributes are reset to normal,
    corresponding to a call to normvideo.

    Specifying LASTMODE to textmode causes the
    most recently selected text mode to be
    reselected.

    textmode should be used only when the screen
    is in text mode (presumably to change to a
    different text mode).

    When the screen is in graphics mode, use
    restorecrtmode to escape temporarily to text
    mode.

    Comment

    Working...