📄 comandoprint.h
字号:
/*
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -