<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://code-reference.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://code-reference.com/feed.php">
        <title>Programming | Library | Reference - Code-Reference.com c:preprocessor</title>
        <description></description>
        <link>https://code-reference.com/</link>
        <image rdf:resource="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-06-21T07:52:55+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23define?rev=1359054534&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23elif?rev=1708041967&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23else?rev=1708041967&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23endif?rev=1708041967&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23error?rev=1382538184&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23if?rev=1708041968&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23ifdef?rev=1708041968&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23ifndef?rev=1708041966&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23include?rev=1708041967&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23pragma?rev=1708041966&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23undef?rev=1708041968&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/%23warning?rev=1708041966&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/define?rev=1359054534&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/elif?rev=1708041967&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/else?rev=1708041967&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/endif?rev=1708041967&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/error?rev=1382538184&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/if?rev=1708041968&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/ifdef?rev=1708041968&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/ifndef?rev=1708041966&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/include?rev=1708041967&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/pragma?rev=1708041966&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/undef?rev=1708041968&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/preprocessor/warning?rev=1708041966&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23define?rev=1359054534&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-24T20:08:54+02:00</dc:date>
        <title>#define</title>
        <link>https://code-reference.com/c/preprocessor/%23define?rev=1359054534&amp;do=diff</link>
        <description>syntax


/* define a symbolic constant */
#define identifier replacement list

/* define a Macro */
#define identifier (identifier_list) replacement list


description

The #define directive replaces any additional occurrences of identifier in the source code by the specified list as a replacement string.
This replacement affects only terminal symbols (ie independent occurrence of identifier in the source code), but not strings that appear in a comment section of another identifier or part of a …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23elif?rev=1708041967&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:07+02:00</dc:date>
        <title>elif</title>
        <link>https://code-reference.com/c/preprocessor/%23elif?rev=1708041967&amp;do=diff</link>
        <description>description of elif

elif is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of elif c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23else?rev=1708041967&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:07+02:00</dc:date>
        <title>else</title>
        <link>https://code-reference.com/c/preprocessor/%23else?rev=1708041967&amp;do=diff</link>
        <description>description of else

else is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of else c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23endif?rev=1708041967&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:07+02:00</dc:date>
        <title>endif</title>
        <link>https://code-reference.com/c/preprocessor/%23endif?rev=1708041967&amp;do=diff</link>
        <description>description of endif

endif is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of endif c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23error?rev=1382538184&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-10-23T16:23:04+02:00</dc:date>
        <title>error</title>
        <link>https://code-reference.com/c/preprocessor/%23error?rev=1382538184&amp;do=diff</link>
        <description>#error your error_message


description of error

The #error directive emits a user-specified error message at compile time and then terminates the compilation.
The following code will cause in compilation error:


#include&lt;stdio.h&gt;

int main()
{
    printf(&quot;code-reference.com/c&quot;);

    return 0;
}

#if !defined(PASS_COMPILER)
#error Syntax to Pass this stage is required !
#endif</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23if?rev=1708041968&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:08+02:00</dc:date>
        <title>if</title>
        <link>https://code-reference.com/c/preprocessor/%23if?rev=1708041968&amp;do=diff</link>
        <description>description of if

if is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of if c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23ifdef?rev=1708041968&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:08+02:00</dc:date>
        <title>ifdef</title>
        <link>https://code-reference.com/c/preprocessor/%23ifdef?rev=1708041968&amp;do=diff</link>
        <description>description of ifdef

ifdef is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of ifdef c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23ifndef?rev=1708041966&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:06+02:00</dc:date>
        <title>ifndef</title>
        <link>https://code-reference.com/c/preprocessor/%23ifndef?rev=1708041966&amp;do=diff</link>
        <description>description of ifndef

ifndef is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of ifndef c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23include?rev=1708041967&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:07+02:00</dc:date>
        <title>#include</title>
        <link>https://code-reference.com/c/preprocessor/%23include?rev=1708041967&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */
#include &quot;myheader.h&quot;


description

include a file into your c sourcecode

C Example 1


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

int main(void){
   printf(&quot;the answer to life the universe and everything is %d \n&quot;, 42 );
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23pragma?rev=1708041966&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:06+02:00</dc:date>
        <title>pragma</title>
        <link>https://code-reference.com/c/preprocessor/%23pragma?rev=1708041966&amp;do=diff</link>
        <description>description of pragma

pragma is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of pragma c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23undef?rev=1708041968&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:08+02:00</dc:date>
        <title>#undef</title>
        <link>https://code-reference.com/c/preprocessor/%23undef?rev=1708041968&amp;do=diff</link>
        <description>Description

With the # undef a macro can be overridden.

Status “defined” or “undefined” is an important characteristic of an identifier, regardless of its actual definition.

The # ifdef and # ifndef can be used to check whether an identifier is currently defined or not.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/%23warning?rev=1708041966&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:06+02:00</dc:date>
        <title>warning</title>
        <link>https://code-reference.com/c/preprocessor/%23warning?rev=1708041966&amp;do=diff</link>
        <description>description of warning

warning is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of warning c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/define?rev=1359054534&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-24T20:08:54+02:00</dc:date>
        <title>#define</title>
        <link>https://code-reference.com/c/preprocessor/define?rev=1359054534&amp;do=diff</link>
        <description>syntax


/* define a symbolic constant */
#define identifier replacement list

/* define a Macro */
#define identifier (identifier_list) replacement list


description

The #define directive replaces any additional occurrences of identifier in the source code by the specified list as a replacement string.
This replacement affects only terminal symbols (ie independent occurrence of identifier in the source code), but not strings that appear in a comment section of another identifier or part of a …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/elif?rev=1708041967&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:07+02:00</dc:date>
        <title>elif</title>
        <link>https://code-reference.com/c/preprocessor/elif?rev=1708041967&amp;do=diff</link>
        <description>description of elif

elif is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of elif c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/else?rev=1708041967&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:07+02:00</dc:date>
        <title>else</title>
        <link>https://code-reference.com/c/preprocessor/else?rev=1708041967&amp;do=diff</link>
        <description>description of else

else is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of else c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/endif?rev=1708041967&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:07+02:00</dc:date>
        <title>endif</title>
        <link>https://code-reference.com/c/preprocessor/endif?rev=1708041967&amp;do=diff</link>
        <description>description of endif

endif is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of endif c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/error?rev=1382538184&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-10-23T16:23:04+02:00</dc:date>
        <title>error</title>
        <link>https://code-reference.com/c/preprocessor/error?rev=1382538184&amp;do=diff</link>
        <description>#error your error_message


description of error

The #error directive emits a user-specified error message at compile time and then terminates the compilation.
The following code will cause in compilation error:


#include&lt;stdio.h&gt;

int main()
{
    printf(&quot;code-reference.com/c&quot;);

    return 0;
}

#if !defined(PASS_COMPILER)
#error Syntax to Pass this stage is required !
#endif</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/if?rev=1708041968&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:08+02:00</dc:date>
        <title>if</title>
        <link>https://code-reference.com/c/preprocessor/if?rev=1708041968&amp;do=diff</link>
        <description>description of if

if is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of if c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/ifdef?rev=1708041968&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:08+02:00</dc:date>
        <title>ifdef</title>
        <link>https://code-reference.com/c/preprocessor/ifdef?rev=1708041968&amp;do=diff</link>
        <description>description of ifdef

ifdef is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of ifdef c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/ifndef?rev=1708041966&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:06+02:00</dc:date>
        <title>ifndef</title>
        <link>https://code-reference.com/c/preprocessor/ifndef?rev=1708041966&amp;do=diff</link>
        <description>description of ifndef

ifndef is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of ifndef c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/include?rev=1708041967&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:07+02:00</dc:date>
        <title>#include</title>
        <link>https://code-reference.com/c/preprocessor/include?rev=1708041967&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */
#include &quot;myheader.h&quot;


description

include a file into your c sourcecode

C Example 1


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

int main(void){
   printf(&quot;the answer to life the universe and everything is %d \n&quot;, 42 );
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/pragma?rev=1708041966&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:06+02:00</dc:date>
        <title>pragma</title>
        <link>https://code-reference.com/c/preprocessor/pragma?rev=1708041966&amp;do=diff</link>
        <description>description of pragma

pragma is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of pragma c example
  no example at the moment</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/undef?rev=1708041968&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:08+02:00</dc:date>
        <title>#undef</title>
        <link>https://code-reference.com/c/preprocessor/undef?rev=1708041968&amp;do=diff</link>
        <description>Description

With the # undef a macro can be overridden.

Status “defined” or “undefined” is an important characteristic of an identifier, regardless of its actual definition.

The # ifdef and # ifndef can be used to check whether an identifier is currently defined or not.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/preprocessor/warning?rev=1708041966&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:06:06+02:00</dc:date>
        <title>warning</title>
        <link>https://code-reference.com/c/preprocessor/warning?rev=1708041966&amp;do=diff</link>
        <description>description of warning

warning is in work by code-reference.com 

if you are faster... don't hasitate and add it


no example at the moment


output of warning c example
  no example at the moment</description>
    </item>
</rdf:RDF>
