📄 scan.cpp
字号:
// Scan.cpp: implementation of the Scan class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Scanner.h"
#include "Scan.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CScan::CScan()
{
}
CScan::~CScan()
{
}
void CScan::ReadLine(CString str)
{
}
BOOL CScan::GetChar(CString str,int index,char &curch)
{
int length = str.GetLength();
if(index >= length)
{
AfxMessageBox("字符访问越界");
return FALSE;
}
else
{
curch = str.GetAt(index);
return TRUE;
}
}
void CScan::scan(CString str)
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -