CS代考 #include “SymbolTable.h”

#include “SymbolTable.h”

#include

Copyright By PowCoder代写 加微信 powcoder

* Symbol Table constructor
SymbolTable::SymbolTable() {
// Your code here

* Symbol Table destructor
SymbolTable::~SymbolTable() {
// Your code here

* Adds a symbol to the symbol table
* @param symbol The name of the symbol
* @param value The address for the symbol
void SymbolTable::addSymbol(string symbol, uint16_t value) {
// Your code here

* Gets a symbol from the symbol table
* @param symbol The name of the symbol
* @return The address for the symbol or -1 if the symbol isn’t in the table
int SymbolTable::getSymbol(string symbol) {
// Your code here
return -1;

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com