'humans' appears to be undefined, and it's either a missing closing } or poor indentation on the else clause.
So I'm surprised this compiled :)
it's either a missing closing } or poor indentation on the else clause
Butt where? :o
static bool isCrazyMurderingRobot = false; void interact_with_humans (void) { if (isCrazyMurderingRobot = true) kill(humans); else be_nice_to(humans); }
Oops, my bad... I managed to insert braces around the clauses in my memory.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
'humans' appears to be undefined, and it's either a missing closing } or poor indentation on the else clause.
So I'm surprised this compiled :)
Butt where? :o
Oops, my bad... I managed to insert braces around the clauses in my memory.