Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Code yourself a(n) McCain/Obama

Name: Anonymous 2008-10-15 22:40

from time import sleep

sleep(2/0)

Name: Anonymous 2008-10-19 4:46

#include <iostream>
using namespace std;

void swapTurn(int &turn);
const void spewBullshit(const int turn);

int main()
{
  int whoseTurn = 0;
  while(true)
  {
    spewBullshit(whoseTurn);
    swapTurn(whoseTurn);
  }
}

void swapTurn(int &turn)
{
  if(turn == 0)
    turn++;
  else
    turn--;
}

const void spewBullshit(const int turn)
{
  if(turn == 0)
    cout<<"My opponent is a terrorist!"<<endl;
  else
    cout<<"I will bring change to America!"<<endl;
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List