Jump to content
  • entries
    356
  • comments
    1,045
  • views
    195,243

6 Comments


Recommended Comments

Ektris

Posted

But... But why not just use if(truth)...

  • Upvote 1
Pomegranate

Posted

import fightbetweenprogrammers

I use Python :P

  • Upvote 5
GSR

Posted

#ifdef _TRUE
printf("Yes, it works!");
#else
// Wait a minute
// oh dear god what am I doing
// preprocessor conditionals? No brackets?
// this is C, isn't it? I'm in straight C?
// no
// oh god no I've probably already broken a pointer somewhere
// wait where are the includes WHERE ARE THE INCLUDES
// am I the include? Is this a header file?
// DID I DEFINE MAIN? WHERE'S MAIN
exit(0); // SUCCESS? IS EXIT EVEN DEFINED!?!??
#endif // help me
  • Upvote 5
fishers64

Posted

SD, that code is improperly formatted. :P

 

if(truth == true)
{
System.out.println("Look at the bracket");
}

 

Also, truth is undefined, which would give you a compile error. 

 

You would need: 

 

if(boolean truth == true)
{
System.out.println("Look at the bracket");
}

 

For it to function properly. 

Takuma Nuva

Posted

Entry point made.

This is hardly a fight, good sir...

 

...yet.

Takuma Nuva

  • Upvote 3
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...