写了一个小程序,就是类似于时间提醒的工具(vc6.0英文版环境下)
打开ctimetooldlg类,编译时提示以下错误(其中dlg为ctimetooldlg的一个对象):
TimeToolDlg.cpp
c:\documents and settings\xiaodao\桌面\timetool\tipsdlg.h(19) : error C2146: syntax error : missing ';' before identifier 'dlg'
c:\documents and settings\xiaodao\桌面\timetool\tipsdlg.h(19) : error C2501: 'CTimeToolDlg' : missing storage-class or type specifiers
c:\documents and settings\xiaodao\桌面\timetool\tipsdlg.h(19) : error C2501: 'dlg' : missing storage-class or type specifiers
Error executing cl.exe.
打开ctipsDlg类时,编译时提示以下错误(其中tipsDlg为ctipsDlg的一个对象 ):
TipsDlg.cpp
c:\documents and settings\xiaodao\桌面\timetool\timetooldlg.h(20) : error C2146: syntax error : missing ';' before identifier 'tipsDlg'
c:\documents and settings\xiaodao\桌面\timetool\timetooldlg.h(20) : error C2501: 'CTipsDlg' : missing storage-class or type specifiers
c:\documents and settings\xiaodao\桌面\timetool\timetooldlg.h(20) : error C2501: 'tipsDlg' : missing storage-class or type specifiers
Error executing cl.exe.
程序链接地址
http://community.csdn.net/