| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 783 人关注过本帖
标题:鸡啄米老师的实例,求指教
取消只看楼主 加入收藏
tangpengksec
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2014-6-24
结帖率:0
收藏
已结贴  问题点数:20 回复次数:0 
鸡啄米老师的实例,求指教
各位大大们好,新人求教:鸡啄米老师的vs2010_MFC编程入门中第14讲属性对话框中的离子我照着写了,前面都能运行,后面加上使用说明的函数就不对了,求指教?谢谢。
void CAdditionDlg::OnBnClickedInstructButton()
{
    // TODO: Add your control notification handler code here
    CAddSheet sheet(_T(""));
    sheet.SetWizardMode();
    sheet.DoModal();
}
1>e:\my c++ program\鸡啄米\addition\addition\additiondlg.cpp(4): warning C4627: '#include "AddSheet.h"': skipped when looking for precompiled header use
1>          Add directive to 'StdAfx.h' or rebuild precompiled header
1>e:\my c++ program\鸡啄米\addition\addition\additiondlg.cpp(212): error C2065: 'CAddSheet' : undeclared identifier
1>e:\my c++ program\鸡啄米\addition\addition\additiondlg.cpp(212): error C2146: syntax error : missing ';' before identifier 'sheet'
1>e:\my c++ program\鸡啄米\addition\addition\additiondlg.cpp(212): error C3861: 'sheet': identifier not found
1>e:\my c++ program\鸡啄米\addition\addition\additiondlg.cpp(213): error C2065: 'sheet' : undeclared identifier
1>e:\my c++ program\鸡啄米\addition\addition\additiondlg.cpp(213): error C2228: left of '.SetWizardMode' must have class/struct/union
1>          type is ''unknown-type''
1>e:\my c++ program\鸡啄米\addition\addition\additiondlg.cpp(214): error C2065: 'sheet' : undeclared identifier
1>e:\my c++ program\鸡啄米\addition\addition\additiondlg.cpp(214): error C2228: left of '.DoModal' must have class/struct/union
1>          type is ''unknown-type''
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.12
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
已经包含"AddSheet.h"了。求好心大神们指教一下啊,谢谢

搜索更多相关主题的帖子: warning include control 编程入门 addition 
2014-06-26 11:21
快速回复:鸡啄米老师的实例,求指教
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.053242 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved