#include "filename" is not working

Posted By: parrondo

#include "filename" is not working - 02/13/13 17:26

Hi,
On line manual said:

Precompiler:
#include "filename"
"...If the script name is given in double quotes "...", it is searched in the Strategy folder."

but this is not working for me at all. Only works if you have a file into include folder but not in strategy folder. it is not working even if the file is into a subfolder of include like include/strategy. It is a little tedious to change files which are not present in the script windows. confused

Has anyone a clue about what is happening?

Thank you.
Posted By: jcl

Re: #include "filename" is not working - 02/13/13 19:01

You're right and the manual was wrong; the path is needed. Here's an example of including a file in the Strategy folder:

#include "Strategy\zheader.h"
Posted By: nsksleeper

Re: #include "filename" is not working - 06/23/13 22:45

THANKS a BIG lot, you saved me from getting crazy!

it works fine!!!!
© 2024 lite-C Forums