#define, am I doing it right?

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
User avatar
Yumtard
Posts: 575
Joined: January 19th, 2017, 10:28 pm
Location: Idiot from northern Europe

#define, am I doing it right?

Post by Yumtard » May 14th, 2018, 9:24 pm

Code: Select all

#define no_parameters_at_all ()
#define the_place_where_my_heart_used_to_be void
#define opening_curly_brace {
#define closing_curly_brace }
#define two_arrows_pointing_to_the_left <<
#define nuff_said ;
#define double_colon ::
#define sexually_transmitted_disease std
#define print_the_following cout

the_place_where_my_heart_used_to_be HelloWorld no_parameters_at_all
opening_curly_brace
	sexually_transmitted_disease double_colon print_the_following two_arrows_pointing_to_the_left "Hello world" nuff_said
closing_curly_brace

Firepath
Posts: 77
Joined: March 10th, 2018, 11:53 pm

Re: #define, am I doing it right?

Post by Firepath » May 14th, 2018, 9:34 pm

What, no defining true to be false, etc.?

That is kinda cool though. I wonder how truly readable you could make it if you really tried to do that seriously.

Post Reply