Link Details

Link 988991 thumbnail
User 1149163 avatar

By reynolds1
via stoneofarc.wordpress.com
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
  • 400
  • 658

Comments

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)



    Debugging JavaScript
    Written by: Ashutosh Sharma
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Java EE7
    2. Spring Annotations
    3. Git
    4. Java
    5. REST