code.h
来自「a basic interpreter free basic」· C头文件 代码 · 共 32 行
H
32 行
#pragma once
#include "stdafx.h"
/*
* Class CCode - Class for the entire source listing
*/
class CCode
{
private:
// Full source listing
codelinelist_t *m_Code;
// Iterator to current line of code
codelinelist_t::iterator m_CodeIterator;
// Current line number
int m_LineNumber;
public:
CCode(void);
~CCode(void);
// Add a line of code to the listing
void Add(CCodeLine * CodeLine);
// Find a line of code by line number
CCodeLine * Find(unsigned int LineNumber);
// Get the next code line
CCodeLine * GetNext(void);
// Get the current line number
int GetCurrentLineNumber(void);
// Reset the code iterator
void Reset(void);
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?