資源簡(jiǎn)介
可以實(shí)現(xiàn)加減乘除括號(hào)取負(fù)等基本的功能,具有一定的表達(dá)式報(bào)錯(cuò)功能,但是并不完善。壓縮包包括可執(zhí)行文件和源代碼
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Windows.Forms;
namespace?jsq
{
????public?partial?class?Form1?:?Form
????{
????????public?Form1()
????????{
????????????InitializeComponent();
??????????
????????}
????????private?string?S;
????????private?string?word;
????????int?current_i;
????????int?len;
????????int?remark;//remark為0時(shí),單詞為運(yùn)算符,為1時(shí),單詞為運(yùn)算數(shù)
????????private?bool?legel?=?true;
????????double?final_result;
????????int[]?A?=?new?int[]{{110001001}?{110001001}{111101001}{111101001}
??????????????????????????????{00000200-1}{1111-111-11}{111101101}{1100010-11}
???????????????????????????????{00000-1002}?};
????????string?Str?=?“+-*/()^@#“;
????????Stack?czs?=?new?Stack();//操作數(shù)棧
????????Stack?ysf?=?new?Stack();//運(yùn)算符棧
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件??????17920??2010-06-12?01:13??jsq\jsq\bin\Debug\jsq.exe
?????文件??????40448??2010-06-12?01:13??jsq\jsq\bin\Debug\jsq.pdb
?????文件??????14328??2010-06-12?01:14??jsq\jsq\bin\Debug\jsq.vshost.exe
?????文件????????490??2007-07-21?01:33??jsq\jsq\bin\Debug\jsq.vshost.exe.manifest
?????文件??????12434??2010-06-12?01:14??jsq\jsq\Form1.cs
?????文件??????17413??2010-06-12?01:10??jsq\jsq\Form1.Designer.cs
?????文件???????5814??2010-06-12?01:10??jsq\jsq\Form1.resx
?????文件???????3752??2010-06-07?00:33??jsq\jsq\jsq.csproj
?????文件????????888??2010-06-12?01:14??jsq\jsq\obj\Debug\jsq.csproj.FileListAbsolute.txt
?????文件????????847??2010-06-12?01:10??jsq\jsq\obj\Debug\jsq.csproj.GenerateResource.Cache
?????文件??????17920??2010-06-12?01:13??jsq\jsq\obj\Debug\jsq.exe
?????文件????????180??2010-06-12?01:10??jsq\jsq\obj\Debug\jsq.Form1.resources
?????文件??????40448??2010-06-12?01:13??jsq\jsq\obj\Debug\jsq.pdb
?????文件????????180??2010-06-07?00:33??jsq\jsq\obj\Debug\jsq.Properties.Resources.resources
?????文件????????484??2010-06-03?23:02??jsq\jsq\Program.cs
?????文件???????1362??2010-06-03?23:02??jsq\jsq\Properties\AssemblyInfo.cs
?????文件???????2856??2010-06-03?23:02??jsq\jsq\Properties\Resources.Designer.cs
?????文件???????5612??2010-06-03?23:02??jsq\jsq\Properties\Resources.resx
?????文件???????1088??2010-06-03?23:02??jsq\jsq\Properties\Settings.Designer.cs
?????文件????????249??2010-06-03?23:02??jsq\jsq\Properties\Settings.settings
?????文件????????899??2010-06-03?23:02??jsq\jsq.sln
????..A..H.?????17408??2010-06-11?00:06??jsq\jsq.suo
?????目錄??????????0??2010-06-12?01:14??jsq\jsq\obj\Debug\Refactor
?????目錄??????????0??2010-06-12?01:14??jsq\jsq\obj\Debug\TempPE
?????目錄??????????0??2010-06-12?01:14??jsq\jsq\bin\Debug
?????目錄??????????0??2010-06-12?01:14??jsq\jsq\obj\Debug
?????目錄??????????0??2010-06-12?01:14??jsq\jsq\bin
?????目錄??????????0??2010-06-12?01:14??jsq\jsq\obj
?????目錄??????????0??2010-06-12?01:14??jsq\jsq\Properties
?????目錄??????????0??2010-06-12?01:14??jsq\jsq
............此處省略5個(gè)文件信息
評(píng)論
共有 條評(píng)論