Welcome! Register for a free account (or login) > How does it work?
|
|
![]() ![]() |
Feb 24 2009, 12:58 PM
Post
#1
|
|
![]() Silver Member Group: Tech Classroom Posts: 391 Joined: 30-July 06 From: England, UK Member No.: 59,214 Operating System: Windows 7 |
I'm a newbie to C++ but i've decided that my knowledge of Windows is good enough now to progress onto a new level, that being C++. I have written some really simple batch files with help from internet topics etc but i think with C++, i could grasp it with enough time & effort. I tried the Hello World introduction and that's all good, and i did have a piece of code to change the TITLE window when the cmd window pops up. I've lost it and am basically asking if anyone knows what that may be? Just for info, i've been using Bloodshed Dev-C++ v4.9.9.2 thanks, Bob |
|
|
|
Feb 25 2009, 05:10 AM
Post
#2
|
|
![]() SuperHelper Group: Classroom Teacher Posts: 5,620 Joined: 28-April 07 From: UK Member No.: 69,799 Operating System: Windows XP (Professional), Windows Vista (Home Business), Windows 7 (Ultimate), Ubuntu Linux |
I'm not sure about a platform independent way of doing this, but if you are working solely on Windows then:
system("TITLE MyTitleText"); Should do the trick. Hope that helps. |
|
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
1 | yathink103 | 114 | 29th January 2010 - 07:57 PM Last post by: Noviciate |
|||
![]() |
2 | mbjack | 248 | 27th January 2010 - 06:57 AM Last post by: mbjack |
|||
![]() |
0 | Zazzi | 148 | 23rd January 2010 - 01:13 PM Last post by: Zazzi |
|||
![]() |
10 | TLoATDaE | 31,375 | 19th January 2010 - 07:53 PM Last post by: Ztruker |
|||
|
Time is now: 19th March 2010 - 01:48 PM |