Fixed "Welcome" text during program run

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kyra93
    New Member
    • Apr 2014
    • 1

    Fixed "Welcome" text during program run

    I want to create a welcome text header during the program runs. I wanna keep it at the top while the program is running (like asking for input@ showing output).

    EG:
    -----
    WELCOME
    ----- //Stay until end of the program

    // output/input. "WELCOME" stay at the top
  • divideby0
    New Member
    • May 2012
    • 131

    #2
    There is no standard way of doing that in C/CPP; it will depend on your compiler and platform. If you're using Windows, look into SetConsoleCurso rPosition and console functions in general.

    Good luck

    Comment

    • weaknessforcats
      Recognized Expert Expert
      • Mar 2007
      • 9214

      #3
      The console in C and C++ historically was a teletype where the output was typed on a roll of paper. So, the console today scrolls. And that's about it.

      Doing anything else will require a windowed library.

      Comment

      Working...