help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #ifndef main


From: Paul Pluzhnikov
Subject: Re: #ifndef main
Date: Fri, 25 Jul 2008 07:43:52 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

"awhan.iitk@gmail.com" <awhan.iitk@gmail.com> 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.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]