📄 s8_1doc.h
字号:
// S8_1Doc.h : interface of the CS8_1Doc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_S8_1DOC_H__7F74A2CB_51AF_472A_9846_2AC4C00B1D0A__INCLUDED_)
#define AFX_S8_1DOC_H__7F74A2CB_51AF_472A_9846_2AC4C00B1D0A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CS8_1Doc : public CDocument
{
protected: // create from serialization only
CS8_1Doc();
DECLARE_DYNCREATE(CS8_1Doc)
// Attributes
public:
// Operations
public:
//代码编写开始
struct{
int nProduct; //各月的产值
char sNote[50]; //各月的备注
}m_Month[12]; //记录各月信息
int m_nTotalProduct; //年总产值
int m_nYear; //年份
//代码编写结束
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CS8_1Doc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CS8_1Doc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CS8_1Doc)
afx_msg void OnCreateText();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_S8_1DOC_H__7F74A2CB_51AF_472A_9846_2AC4C00B1D0A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -