//use_new.cpp -- using the new operator
#include <iostream>
using namespace std;
int main()
{
int* pt = new int;
*pt = 1001;
}
vc6.0环境中老显示 fatal error C1010: unexpected end of file while looking for precompiled header directive
usenew1.cpp这个错误,求解,多谢,再在新年的第一次上网的时候祝论坛的各位朋友新年万事如意!!
Deleting intermediate files and output files for project 't - Win32 Debug'.
--------------------Configuration: t - Win32 Debug--------------------
Compiling...
tes1.cpp
d:\personal\desktop\c++temp\t\tes1.cpp(14) : warning C4508: 'main' : function should return a value; 'void' return type assumed
Linking...