View Single Post
 
Post Unmanageable C++ code
Reply
Posted 2003-10-14, 09:33 AM
// Example #1: Compilable pseudocode

#include <iostream.h>
#include <stdlib.h>
#define twelve 12
#define onethousantthreehundredandthirtyseven 1337
#define semicolon ;
#define first_off struct ___{
#define do_this int _ semicolon int __ semicolon
#define do_that } semicolon
#define then void main(){
#define do_more ___ test={twelve,onethousantthreehundredandthirtyseven } semicolon test._+=5 semicolon cout << test._ << endl semicolon
#define and_more for(semicolon semicolon){ cout << ++test.__ << endl semicolon
#define the }
#define end }

first_off

do_this
do_that

then
do_more
and_more

the end
"Stephen Wolfram is the creator of Mathematica and is widely regarded as the most important innovator in scientific and technical computing today." - Stephen Wolfram
Old
Profile PM WWW Search
Chruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrowChruser never puts off to tomorrow what can be done the day after tomorrow
 
 
Chruser