0 Replies - 173 Views - Last Post: 01 November 2009 - 12:51 PM

#1 jjl   User is offline

  • Engineer
  • member icon

Reputation: 1271
  • View blog
  • Posts: 4,998
  • Joined: 09-June 09

Pause Window

Posted 01 November 2009 - 12:51 PM

Description: Pauses the DOS window without using system commands
#include <limits>

void pause()
{
	cout<<"Press Enter To Quit...";
	cin.sync();
	cin.ignore(numeric_limits<streamsize> ::max(), 'n');
}

Is This A Good Question/Topic? 0
  • +

Page 1 of 1