Interview Question in Visual Studio 2005


 

Interview Question :: Fopen function help

I am using Visual Studio 2005 for my OOP class.

For one of the assignments, I have to open a file for reading.
I open a file for writing just to test out to see if fopen( ) works.

FILE *fp;
fp = fopen( "testFile.txt", "w" );

But it keeps generating this warning.

warning C4996: 'fopen' was declared deprecated
What is that mean?
by ksk