Setting the console title

This is a discussion on Setting the console title within the C++ Programming forums, part of the General Programming Boards category; How do you set the title of the console window? I have had a search but cannot find anything on ...

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    27

    Setting the console title

    How do you set the title of the console window?

    I have had a search but cannot find anything on it.

    Thank you.

  2. #2
    Senior Member joshdick's Avatar
    Join Date
    Nov 2002
    Location
    Phildelphia, PA
    Posts
    1,146
    That depends on your platform.

  3. #3
    Registered User
    Join Date
    Mar 2005
    Posts
    27
    I am working on Windows XP (with Bloodshed Dev-C++ if that is relevant)

  4. #4
    Tropical Coder Darryl's Avatar
    Join Date
    Mar 2005
    Location
    Cayman Islands
    Posts
    503

  5. #5
    Fallen AndyBomstad's Avatar
    Join Date
    Jan 2005
    Posts
    52
    you could try
    Code:
    system ("title This is the title");
    but i wouldnt get in the habbit of using the "system" for anything

  6. #6
    Senior Member joshdick's Avatar
    Join Date
    Nov 2002
    Location
    Phildelphia, PA
    Posts
    1,146
    Here's how to do it using the Windows API:
    http://www.winprog.org/tutorial/simple_window.html

  7. #7
    Registered User
    Join Date
    Mar 2005
    Posts
    27
    Thank you everyone.

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, 09:47 AM
  2. Setting console title
    By tony_rusia in forum C++ Programming
    Replies: 2
    Last Post: 06-28-2007, 03:17 PM
  3. Setting Console Size
    By twomers in forum C++ Programming
    Replies: 4
    Last Post: 08-20-2006, 04:24 PM
  4. Full Screen Console
    By St0rmTroop3er in forum C++ Programming
    Replies: 1
    Last Post: 09-26-2005, 10:59 PM
  5. Just one Question?
    By Irish-Slasher in forum C++ Programming
    Replies: 6
    Last Post: 02-12-2002, 10:19 AM

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