includes and headers

Started by
11 comments, last by dave 18 years, 5 months ago
No it doesn't, here you are simply saying to the compiler that you want to define a certain symbol if it hasn't already been defined. It can be any case you want although it is standard practice to do it in upper case. If it has been defined then the contents of the #ifndef #endif is left out. Underscores '_' are typically used in naming conventions in place of spaces. You may also notice in the future that there are quite alot of microsoft symbols with 2 leading underscores, so i personally don't use 2, only 1, and infrequently.

ace
Advertisement
Cool beans. Well, just wanted to say thanks again guys. You were all a tremendous help. I've now got me some nice little include files working as intended and actually understand what's going on. (yes, i know this is probably pre-beginner level stuff but i was about to pull my hair out over this :) )
Well i didn't know it once, and u'll soon be helping others.

ace

This topic is closed to new replies.

Advertisement