Using Visual Studio 2003/2005 I create a project of type Visual C++
Class Library (.NET).
I add a method. In this method I need to open a file and write to it. I
type:
fopen("out.lis", "wt");
I get fopen identifier not found. I add #include <stdio.h> I get:
unresolved external symbol "struct_iobuf* _cdecl(char const*, char
const*)
Can anyne help me here?
Thanks.
Kevin Spencer - 13 Mar 2006 16:10 GMT
You need to specify that the C++ project is not a managed C++ project.

Signature
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
Presuming that God is "only an idea" -
Ideas exist.
Therefore, God exists.
> Using Visual Studio 2003/2005 I create a project of type Visual C++
> Class Library (.NET).
[quoted text clipped - 12 lines]
>
> Thanks.