?? main.cs
字號(hào):
using System;
using System.IO;
using System.Collections;
namespace Lexical_Analyzer
{
/// <summary>
/// Class1 的摘要說(shuō)明。
/// </summary>
class main
{
private static StreamReader br;
private static ArrayList symbolTable;
/// <summary>
/// 應(yīng)用程序的主入口點(diǎn)。
/// </summary>
[STAThread]
static void Main(string[] args)
{
symbolTable = new ArrayList();
readFile("input.txt");
Lexical lex = new Lexical(br);
symbolTable = lex.getSymbolTable();
Console.Read();
}
public static void readFile(String fileName)
{
br = new StreamReader(fileName);
}
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -