What is the meaning of following declaration?

This is a discussion on What is the meaning of following declaration? within the C Programming forums, part of the General Programming Boards category; Dear All, What is the meaning of following declaration? [code] #ifndef __FPS_CONFIGURATION_PROJECT_CDF_ #define __FPS_CONFIGURATION_PROJECT_CDF_ [\code]...

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    83

    What is the meaning of following declaration?

    Dear All,
    What is the meaning of following declaration?

    [code]
    #ifndef __FPS_CONFIGURATION_PROJECT_CDF_
    #define __FPS_CONFIGURATION_PROJECT_CDF_

    [\code]

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,302
    It defines the macro name __FPS_CONFIGURATION_PROJECT_CDF_ if it has not already been defined. It looks like possibly part of a header inclusion guard.

    Incidentally, note that names that begin with an underscore followed by an uppercase letter, or that contain two consecutive underscores, are reserved to the (compiler and standard library) implementation for any use.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Quantum Random Bit Generator
    By shawnt in forum C++ Programming
    Replies: 62
    Last Post: 06-18-2008, 11:17 AM
  2. failure to import external C libraries in C++ project
    By nocturna_gr in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2007, 03:49 PM
  3. We Got _DEBUG Errors
    By Tonto in forum Windows Programming
    Replies: 5
    Last Post: 12-22-2006, 05:45 PM
  4. Errors with including winsock 2 lib
    By gamingdl'er in forum C++ Programming
    Replies: 3
    Last Post: 12-05-2005, 08:13 PM
  5. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21