📄 词法分析.cpp
字号:
// 词法分析.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "stdio.h"
#include <iostream>
#include <string>
using namespace std;
//TOKEN种类
class Token
{
public:
int line;
string lex;
string sem;
Token(){}
Token(int _line, string _lex, string _sem)
{
line=_line;
lex=_lex;
sem=_sem;
}
};
//静态变量区
static char buf[1000];
static int iter=0;
int main(int argc, char* argv[])
{
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -