Search:

Type: Posts; User: tabstop

Search: Search took 0.13 seconds.

  1. Thread: Misplaced else

    by tabstop
    Replies
    3
    Views
    1,723

    There's no if there for the else to attach to --...

    There's no if there for the else to attach to -- once you hit the semicolon on line 14 (as posted), the if has been used up and cannot have any thing else to attach to it. Once you have an...
  2. Thread: Misplaced else

    by tabstop
    Replies
    3
    Views
    1,723

    Because any syntax error causes the whole program...

    Because any syntax error causes the whole program to be invalid. C is not interpreted; it does not execute line by line until something bad happens.
Results 1 to 2 of 2