📄 textcode.h
字号:
#pragma once
#include <string>
#include <sstream>
#include <iomanip>
using namespace std;
struct TextCode
{
unsigned address;
unsigned binary;
string asmCode;
string GetAddress(){
return PrintNum(address);
}
string GetBinary(){
return PrintNum(binary);
}
private:
static string PrintNum(unsigned num){
ostringstream os;
os << "0x";
os << setw(8) << setfill('0') << hex << num;
return os.str();
}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -