resource.h student.cpp student.h
来源:互联网 发布:优酷福利待遇 知乎 编辑:程序博客网 时间:2024/06/06 03:09
resource.h
// Student.h: interface for the CStudent class.////////////////////////////////////////////////////////////////////////#if !defined(AFX_STUDENT_H__91A755BB_624D_4216_8D77_681DFC7FBEC3__INCLUDED_)#define AFX_STUDENT_H__91A755BB_624D_4216_8D77_681DFC7FBEC3__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000class CStudent {private:CString name;int score;public:CStudent();CStudent(const CString &n,const int s);void display(CDC *,int,int);virtual ~CStudent();};#endif // !defined(AFX_STUDENT_H__91A755BB_624D_4216_8D77_681DFC7FBEC3__INCLUDED_)
student.h
//{{NO_DEPENDENCIES}}// Microsoft Developer Studio generated include file.// Used by My.rc//#define IDD_ABOUTBOX 100#define IDR_MAINFRAME 128#define IDR_MYTYPE 129#define IDD_DIALOG1 130#define IDC_EDIT1 1000#define IDC_EDIT2 1002#define IDC_EDIT3 1003#define ID_Menuitem32771 32771// Next default values for new objects// #ifdef APSTUDIO_INVOKED#ifndef APSTUDIO_READONLY_SYMBOLS#define _APS_3D_CONTROLS 1#define _APS_NEXT_RESOURCE_VALUE 132#define _APS_NEXT_COMMAND_VALUE 32772#define _APS_NEXT_CONTROL_VALUE 1004#define _APS_NEXT_SYMED_VALUE 101#endif#endif
// Student.cpp: implementation of the CStudent class.////////////////////////////////////////////////////////////////////////#include "stdafx.h"#include "My.h"#include "Student.h"#ifdef _DEBUG#undef THIS_FILEstatic char THIS_FILE[]=__FILE__;#define new DEBUG_NEW#endif//////////////////////////////////////////////////////////////////////// Construction/Destruction//////////////////////////////////////////////////////////////////////CStudent::CStudent(){}CStudent::CStudent(const CString &n, int s):name(n),score(s){}CStudent::~CStudent(){}void CStudent::display(CDC *pDC,int x,int y){CString str;str.Format("姓名:%s 成绩:%d",name,score);pDC->TextOut(x,y,str);}
- resource.h student.cpp student.h
- student
- student
- student
- student
- student
- OC集合中(同上)student.h .m文件
- resource.h
- Resource.h
- 4,在本章第2.6.2(题目错误)节中给出了包含类定义的头文件student.h,包含成员函数定义的源文件student.cpp以及包含主函数的源文件main.cpp。请完善该程序,在类中增加一个对数
- java.lang.ClassCastException: com.huihui.sms.bean.Student cannot be cast to java.util.List at com.h
- markup.h + markup.cpp
- dib.cpp&dib.h
- .c .cpp .h
- .h和.cpp
- C++ .h .cpp(转)
- .h和.cpp
- 包含.cpp而不是.h
- 如何在Eclipse中看Android的源码
- Linux内核scripts/Makefile.build文件结构
- 第13章习题 复制控制
- poj 2184 Cow Exhibition 01背包变形,正负背包
- Hibernate在PostgreSQL上执行sum函数导致数据失真的问题
- resource.h student.cpp student.h
- 新的Mac Mini开发前的准备工作
- 下一代云计算平台--融合基础设施
- Commons BeanUtils的使用
- TF-IDF与余弦相似性的应用(一):自动提取关键词
- WCF 项目应用连载[11] - 结束
- HDU1561 The more,The better
- JVM的简单介绍
- HBase compact 总结 及 调优配置