Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@TheGameOfKarma challenge accepted!!!! But... Wait.
If i do
#define true false
And then
#define false true
As what will false be defined???
Illuminati -
@linuxer4fun this will create much more complexity..
as it'll change all true to false and all false to true..
i hope you got this.
preprocessor will process whole programme just once. -
@TheGameOfKarma but i already defined true as false, wont it deal problems? (i know, what preprocessorcommands are:))
-
@linuxer4fun haha yeah hopefully..
but if you come across any thing like this you will laugh π -
@TheGameOfKarma xD. Actually i dont think ill ever use that, because im programing pascal, but whe i find a c friend, ill be rigth there, to anoy him :)
-
@linuxer4fun also in the charakter tables, theres a charakter, which looks like a semicolon, but isnt... Lets search and replace, and then remap this keyboard
-
@TheGameOfKarma xD another evil trick: create like 1000 of instances of a class in a header file
Related Rants
just came across the code line as below.
#define TRUE FALSE
and than......ππ
undefined
ansi c
funnycode
funny