comandoprint.h
来自「"tiny" language interpreter written in j」· C头文件 代码 · 共 35 行
H
35 行
/*
TP2 LP INTERPRETADOR TINY
ALUNO : ANDRE LUIS DURAO ABDO
MATRICULA : 283999
DATA DA ENTREGA : 10/05/2007
*/
//ComandoPrint.h
#ifndef COMANDOPRINT_H
#define COMANDOPRINT_H
#include "Comando.h"
#include "Memoria.h"
#include <string>
#include <iostream>
using namespace std;
using std::cout;
using std::endl;
class ComandoPrint: public Comando{
public:
ComandoPrint(const string& str,bool tipo,Memoria *mem,int linha);
~ComandoPrint(){};
int executa();
string toString();
void defineLinhaSalto(int nolinha);
private:
string strMem;
bool tipoOp;
Memoria *mem;
int linha;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?