- 博客(1)
- 资源 (6)
- 收藏
- 关注
原创 C++构造、析构、拷贝构造函数
一、构造函数 1)缺省构造函数(由编译器合成的构造函数)分为有用(trivial)无用(non-trivial) a 不负责初始化成员变量 b 编译器认为当以下情况时,需合成有用的构造函数 当其成员对象具有有用的构造函数时;(需要构造成员对象,插入在最前面) 当其基类具有有用的构造函数时; ...
2019-06-22 09:42:50 128
tree代码的实现与简单应用
很好的帮助初学者学习数据库的代码
#if !defined(AFX_LHWY_H__D043238F_FEF1_4E89_B1E9_B5D86538095B__INCLUDED_)
#define AFX_LHWY_H__D043238F_FEF1_4E89_B1E9_B5D86538095B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CLhwyApp:
// See lhwy.cpp for the implementation of this class
//
class CLhwyApp : public CWinApp
{
public:
CLhwyApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLhwyApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CLhwyApp)
afx_msg void OnAppAbout();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
2009-09-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人