On Thu, Mar 13, 2008 at 6:26 AM, gupta.beeru <[EMAIL PROTECTED]> wrote:

>  I am a beginner so please reply me in easy way so that i will get
>  properly.THANKS!
>  Let, There is a header file 'A.h'. Inside which another file 'B.h' is
>  included already. and Inside 'B.h' another file 'C.h' exists. To
>  include these files the sequence must be as follows...
>  #include"C.h"
>  #include"B.h"
>  #include"A.h"
>
>  Now problem is occuring when in the same case 'C.h' consists again
>  header file 'A.h'. Now what should be the sequence to include header
>  files.

First, search Google for 'circular header references' -- this is a
common design problem and there are several ways to get around the
problem.

My personal opinion is that if you find yourself using headers like
this, it's time to rethink your design.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
 If I were to divulge it, it would overturn the world."
 -- Jelaleddin Rumi

Reply via email to