section.h

来自「读取文本文件的」· C头文件 代码 · 共 32 行

H
32
字号
// Section.h: interface for the CSection class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SECTION_H__3A3A83B1_89E1_455C_99FB_EB8A23A09CDC__INCLUDED_)
#define AFX_SECTION_H__3A3A83B1_89E1_455C_99FB_EB8A23A09CDC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "..\readarticle.h"
#include "Sentence.h"

class CSection  
{
public:
	CSection();
	CSection(const string &sectionStr, int index);
	virtual ~CSection();
	
	int FindWord(const string &wordname);
	int DisplayWord(map<string, int> &A);
	int Quit(void);
	int GetTotalWord(void);
private:
	int m_SectionIndex;
	vector<CSentence> m_SentenceList;
};

#endif // !defined(AFX_SECTION_H__3A3A83B1_89E1_455C_99FB_EB8A23A09CDC__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?