Friday, August 22, 2008

Algorithm For A Modern Artist

I realize that on a certain level the point of art is to elicit emotions. There is a line, however, and this jerk crossed it. I am no great student of art or art history, but from casual observation most art seems to follow certain patterns. Art seems to be almost structured, and I believe I have derived the algorithm which will produce what is today considered art.

#include <iostream>
#include <fstream>
using namespace std;

int main () {
char c, str[256];
ifstream is;

cout << "Enter the name of an existing controversial topic: ";
cin.get (str,256);

is.open (str); // open controversy

while (is.good()) // loop while profit from controversy is possible
{
c = is.get(); // get money from controversy
cout << c;
}

is.close(); // controversy dropped
return 0;
}