⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 词法分析.cpp

📁 原来自写的C词法分析小程序 适用于课程设计等
💻 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 + -