srikanth80

Hi ,

Iam integrating a piece of functionality which was developed in unix environment. while developing with MFC framework i have some problem with the include statements.

include statement originally : #include"headers/header.h"

include statement in vc++ : #include"headers\header.h"

or #include"headers//header.h"

to change manually these statements ...... :-(

is there any way to make it work without changing

please let me know.

Thanks,

Srikanth.



Re: Visual C++ Language How to write include statement compatible to both unix and windows

Viorel.

Visual Studio 2005 seems to accept the original statements: #include "headers/header.h". Therefore you probably do not have to adjust them.





Re: Visual C++ Language How to write include statement compatible to both unix and windows

srikanth80

Is there any setting i need to change for this.

-Srikanth.





Re: Visual C++ Language How to write include statement compatible to both unix and windows

Viorel.

In my experiments it accepts the path without any specific settings. Can you show the exact error message you receive if you do not adjust the path





Re: Visual C++ Language How to write include statement compatible to both unix and windows

srikanth80

Hi thanks,

It works fine for me as well, now!! I gave a wrong path in vc++ directories.

Thanks,

srikanth.