Simple question

  • Thread starter Thread starter mitch
  • Start date Start date
M

mitch

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.
 
You need to specify that the C++ project is not a managed C++ project.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer

Presuming that God is "only an idea" -
Ideas exist.
Therefore, God exists.
 
Back
Top