#include <stdio.h>
#include <iostream.h>
#include <fstream>
/*
* A2C - ASCII to CLAW
* Thanks to David Hollis for making me realizing... that...
* I DIDN'T NEED A FUCKING SWITCH STATEMENT... but hey...
* it WAS 2... so.. go to hell
*/
int main(int argc, char *argv[]) {
int a;
char fuck[10000];
cout << "Enter text: ";
cin.getline(fuck,10000);
a=strlen(fuck);
ofstream fuckout("a2cOUT.cl");
#define print(x) \
for(int i=0;i<x;i++) fuckout << "+"; \
fuckout << ".>\n";
fuckout << "This was Output by ASCII to CLAW\n\n";
for(int i=0;i<a;i++) {
char c=fuck[i];
print(c);
}
}