A nice beep from the computer :D

Technical discussion about the NMDC and <a href="http://dcpp.net/ADC.html">ADC</A> protocol. The NMDC protocol is documented in the <a href="http://dcpp.net/wiki/">Wiki</a>, so feel free to refer to it.

Moderator: Moderators

Locked
joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 02:38
Location: Sweden, Linkoping

A nice beep from the computer :D

Post by joakim_tosteberg » 2003-10-03 14:21

Code: Select all

#include <iostream>
using namespace std;

int main()
{
	for(;;)
	{
	cout << "\a";
	}
	cout << endl;
	return 0;
}
Isn´t this a very nice way to get annoyed on the computer? Especially then it hangs(which it does quite easily) so you can´t quit it without restarting the computer :D .

Locked