Setting CMD title

I'm making a simple text based game with C++ on command prompt and I can't find out how to set the title of the window on the command prompt. Can anyone help out?
That would be platform-specific. What are you programming for?
If its for windows use "system("TITLE 'title here');".
Topic archived. No new replies allowed.