Link Details

Link 988991 thumbnail
User 1149163 avatar

By reynolds1
Published: Jun 28 2013 / 00:49

How does MyProgram.c know what the values of kMyConstantNumber and kMyConstantBoolean are in order to print them out from printf()?
  • 9
  • 0
  • 424
  • 659


Add your comment
User 368023 avatar

yakkoh replied ago:

0 votes Vote down Vote up Reply

#import is better than the #ifndef trick. As far as I know, not in C99 or C11.

User 1149163 avatar

reynolds1 replied ago:

0 votes Vote down Vote up Reply

@yakkoh absolutly right

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)

Voters Against This Link (0)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java