Setting console title

This is a discussion on Setting console title within the C++ Programming forums, part of the General Programming Boards category; hi.. i am beginner in c programming,need help to : how can i change text title on command prompt ?normally ...

  1. #1
    Registered User
    Join Date
    Jun 2007
    Location
    indonesia
    Posts
    1
    hi..
    i am beginner in c programming,need help to :
    how can i change text title on command prompt ?normally i find the title is file adress ,like C:\\data\folder\.....
    thanks alot...

  2. #2
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    907
    Neither the language nor the Standard Library can do that. Try WIN32...
    http://msdn2.microsoft.com/en-us/library/ms686050.aspx
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  3. #3
    Registered User manofsteel972's Avatar
    Join Date
    Mar 2004
    Posts
    317
    If you type help at the Command prompt it gives you a list of all the commands. TITLE will allow you to change the title from the command prompt at least on my version of Windows XP. You just type "TITLE text". If you want to change the command prompt you would use PROMPT. "Help command" gives you more information on each of them. If you are trying to do this programatically, then you would use the Window Console functions.
    "Knowledge is proud that she knows so much; Wisdom is humble that she knows no more."
    -- Cowper

    Operating Systems=Slackware Linux 9.1,Windows 98/Xp
    Compilers=gcc 3.2.3, Visual C++ 6.0, DevC++(Mingw)

    You may teach a person from now until doom's day, but that person will only know what he learns himself.

    Now I know what doesn't work.

    A problem is understood by solving it, not by pondering it.

    For a bit of humor check out xkcd web comic http://xkcd.com/235/

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Extract Title from plain text file
    By Todd88 in forum C++ Programming
    Replies: 10
    Last Post: 11-21-2008, 08:47 AM
  2. Setting Console Size
    By twomers in forum C++ Programming
    Replies: 4
    Last Post: 08-20-2006, 03:24 PM
  3. Full Screen Console
    By St0rmTroop3er in forum C++ Programming
    Replies: 1
    Last Post: 09-26-2005, 09:59 PM
  4. Setting the console title
    By Diablo84 in forum C++ Programming
    Replies: 6
    Last Post: 04-11-2005, 11:22 AM
  5. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 09:19 AM

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