我在编译的时候出了一个问题:
D:\driver\sourceinsight\循序渐进学用系列 学用Visual C++ 6_0_10028545\Timers\TimersDlg.cpp(219) : error C2601: 'OnStarttimer' : local function definitions are illegal
D:\driver\sourceinsight\循序渐进学用系列 学用Visual C++ 6_0_10028545\Timers\TimersDlg.cpp(230) : error C2601: 'OnStoptimer' : local function definitions are illegal
D:\driver\sourceinsight\循序渐进学用系列 学用Visual C++ 6_0_10028545\Timers\TimersDlg.cpp(237) : error C2601: 'OnChangeInterval' : local function definitions are illegal
D:\driver\sourceinsight\循序渐进学用系列 学用Visual C++ 6_0_10028545\Timers\TimersDlg.cpp(246) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
但我不知道错在哪儿?谢谢高手指点。
D:\driver\sourceinsight\循序渐进学用系列 学用Visual C++ 6_0_10028545\Timers\TimersDlg.cpp(219) : error C2601: 'OnStarttimer' : local function definitions are illegal
D:\driver\sourceinsight\循序渐进学用系列 学用Visual C++ 6_0_10028545\Timers\TimersDlg.cpp(230) : error C2601: 'OnStoptimer' : local function definitions are illegal
D:\driver\sourceinsight\循序渐进学用系列 学用Visual C++ 6_0_10028545\Timers\TimersDlg.cpp(237) : error C2601: 'OnChangeInterval' : local function definitions are illegal
D:\driver\sourceinsight\循序渐进学用系列 学用Visual C++ 6_0_10028545\Timers\TimersDlg.cpp(246) : fatal error C1004: unexpected end of file found
Error executing cl.exe.
但我不知道错在哪儿?谢谢高手指点。
{
void f()
{
}
}
void f1()
{
for (...)
{
}void f2()
{
}
2.最后一个错误添加#include "stdafx.h"
又多出这个错误:
d:\driver\sourceinsight\循序渐进学用系列 学用visual c++ 6_0_10028545\timers\timersdlg.cpp(246) : fatal error C1010: unexpected end of file while looking for precompiled header directive