comandolabel.h

来自「"tiny" language interpreter written in j」· C头文件 代码 · 共 26 行

H
26
字号
//ComandoLabel.h
#ifndef COMANDOLABEL_H
#define COMANDOLABEL_H

#include "Comando.h"
#include "Memoria.h"
#include <string>

using namespace std;

class ComandoLabel: public Comando{
    public: 
        ComandoLabel(Memoria *mem_labels, string rotulo, int linha);
        ~ComandoLabel(){};
        int executa();
        string toString();
        void defineLinhaSalto(int nolinha);
    private:
        Memoria *mem_labels;
        //linha de execucao
        int linha;        
        //rotulo do comando
        string rotulo;              
};
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?