C++ does help with boredom - A simple do-nothing program
I got bored earlier today and decided to make a simple program that displays 1 - 10 and then starts repeating the alphabet over and over again until you quit it:
#include <iostream>
#include <unistd.h>
#include <cstdlib>
using namespace std;
int main() {
sleep(1);
cout << "1\n";
sleep(1);
cout << "2\n";
sleep(1);
cout << "3\n";
sleep(1);
cout << "4\n";
sleep(1);
cout << "5\n";
sleep(1);
cout << "6\n";
sleep(1);
cout << "7\n";
sleep(1);
cout << "8\n";
sleep(1);
cout << "9\n";
sleep(1);
cout << "10\n";
a:
cout << "A B C D E F G H I J K L M N O P Q R S T U V W X Y Z\n";
goto a;
}