[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #ifndef main
From: |
sh . vipin |
Subject: |
Re: #ifndef main |
Date: |
Fri, 1 Aug 2008 20:49:21 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Jul 25, 10:11 pm, "awhan.i...@gmail.com" <awhan.i...@gmail.com>
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 following and it will all pass
exp # 1
int main(void){
return 0 ;
}
#ifndef MAIN
#define main
#endif
exp # 2
--------
int main(void){
return 0 ;
}
#ifndef ASDSADAS
#define main main
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: #ifndef main,
sh . vipin <=