On Jul 25, 10:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Thanks a ton both of you Bernd and Paul ! Yes indeed I found that the
> word main was replaced by an empty string. Problem fixed !
pre processing always the first step to happen and single pass
just for experiments
do the follow
Thanks a ton both of you Bernd and Paul ! Yes indeed I found that the
word main was replaced by an empty string. Problem fixed !
___
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus
Hello,
[EMAIL PROTECTED] wrote:
> I have two files and the contents are as follows :
>
> file :: main.h
> -
> #define main
> --
> file :: main.cpp
> -
> #include "main.h"
>
> int main(v
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> file :: main.h
> -
> #ifndef main
> #define main
That is not a very smart thing to do ...
> May somebody please shed some light on this ?
Run 'g++ -E main.cpp' before and after your fix, and compare results.