?? txttool.h
字號:
// TxtTool.h: interface for the CTxtTool class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TXTTOOL_H__0E2D28F0_C9FD_4C18_ADC1_BE5F68C80D2B__INCLUDED_)
#define AFX_TXTTOOL_H__0E2D28F0_C9FD_4C18_ADC1_BE5F68C80D2B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CTxtTool
{
public:
CTxtTool();
~CTxtTool();
BOOL Open(const CString &strTxtFile,
UINT nOpenFlags = CFile::modeRead | CFile::typeText);
BOOL DeleteLine( const CString &strLineSign);
BOOL DeleteLine( const CString &strStartLineSign,
const CString &strEndLineSign);
BOOL ReplaceLineContent( const CString &strSource,
const CString &strGoal);
BOOL CreateTxtFile( const CString &strTxtFile,
const CStringArray &arsContent);
BOOL FindIsContainString(const CString &strSign);
private:
CStdioFile m_File;
CString m_strTxtFile;
BOOL m_bIsOpen;
};
#endif // !defined(AFX_TXTTOOL_H__0E2D28F0_C9FD_4C18_ADC1_BE5F68C80D2B__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -