Hi,
This should help:
http://en.wikipedia.org/wiki/C_preprocessor
For a multiple-inclusion guard, it would be something like this:
#ifndef SOMEHEADER_H
// or whatever symbol you wish
#define SOMEHEADER_H
/*
insert whole header data here
*/
#endif
I can't help you for Pascal though..
Cheers,
Jonathan
On 6/26/07, Jan Mura <jan...@vo...> wrote:
>
> Hello,
>
> I would like to ask about the preprocesor directives.
> I mean the directives which are for including the header
> files .
> I remember something like #ifdef __someheader_h__ ...
> but now I cannot find it in my manuals.
> I hope someone will understand what I mean. It is
> for not including the header file several times.
>
> I have another question but maybe it is not a good
> place here.
> But it is about gcc compiler. Is the compiler for Pascal language in gcc
> somehow compatible with Borland Turbo Pascal?
>
> Thank you very much
>
> Jan Mura
> jan...@vo...
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
--
<Morpheus> linux, c'est une question de VI ou de MORE
|