Try checking out the functions
NathanOliver
Veteran Poster
1,084 posts since Apr 2009
Reputation Points: 215
Solved Threads: 189
try this:
#include <windows.h>
//Declare a 'handle' type object
HANDLE console_handle;
//Get the 'handle' of the console window
console_handle = GetStdHandle(STD_OUTPUT_HANDLE);
//Change the title bar text
SetWindowText(console_handle, "I want to be the very best.");
Here is a reference for the SetWindowText() function.
Here is a reference for using basic windows functions in the DOS environment.
Clinton Portis
Practically a Posting Shark
833 posts since Oct 2005
Reputation Points: 237
Solved Threads: 118
No the functions in windows.h are for machines running a windows OS only.
NathanOliver
Veteran Poster
1,084 posts since Apr 2009
Reputation Points: 215
Solved Threads: 189