Women in Technology

Hear us Roar



Article:
  When Linux Runs Out of Memory
Subject:   Source needs some changes to compile
Date:   2007-06-21 16:33:31
From:   deStilaDo
Response to: Source needs some changes to compile

IAACP and no, it's wrong.
Even if it's accepted by any compiler, it shouldn't.
The grammar of the C language states that parenthesis are mandatory part of "if statement", formally know as "selection_statement":


selection_statement: in statement
IF '(' expression ')' statement
| IF '(' expression ')' statement ELSE statement



http://www.vendian.org/mncharity/ccode/grammar/html/degener_symb.txt.html#selection_statement



Full Threads Newest First

Showing messages 1 through 1 of 1.

  • Source needs some changes to compile
    2007-07-04 09:29:25  mulyadi_santosa [View]

    another big thanks for pointing that out...

    regards,

    Mulyadi