Re: including files



Eitan M wrote:
I have VC 6.0.
(For my university tasks, I am using ANSI C,
by Win32 console application).

Warning, VC6 doesn't support ANSI (or rather ISO) C completely.

I want to include another files, that have functions which I want to use.

How can I do that ?

#include "file.name"

Should the included files be in the same directory ?

That is up to you to decide.

And what if not in the same directory ?

You can either supply a full path, a relative path or tell the compiler (via
the project settings) to search in other paths, too.

Uli

.


Loading