----------------------------------------------------------------
#include <windows.h>
#include <stdlib.h>
#include <fstream.h>
void fun() //<----------此函式
{
int a=0;
ofstream fs("file.dat");
fs << a;
fs.close();
}
void *operator new(UINT size)
{ return malloc(size); }
void operator delete(void *pnt)
{ free(pnt); }
int PASCAL WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow )
{ return 0; }
LRESULT CALLBACK MainWindowProc( HWND hWnd, unsigned uMsg,
WPARAM wParam, LPARAM lParam )
{ return 0;}