[Recommended] Data Internship: Expression Solution

xiaoxiao2021-03-06  100

[Recommended] Data Internship: Expression Solution

The procedure I wrote when I learned the data structure, and I also made a simple GUI, and I also did it from the Chinese character system to show Chinese characters. Now I am willing to share with you. You can go directly to the address directly

http://www.freewebs.com/czone/exp.rar

If you can't download, please leave your email address, I will send you to your mailbox.

1 Run the program should include at least the following files

ASC16 ASCII library file, store ASCII characters dot matrix structure

Hanzi16.lib Chinese custom library file, stored Chinese characters

Monitor driver in Egavga.bgi VGA mode

Exp.exe executable

Input rule

2 This program recognizes most math operation symbols (absolute value)

- * / ^ (Passenger)%

3. The program recognizes 29 math functions (upper capital letters on the right is internal representation)

{"arcsin", 'a'},

{"Arccos", 'b'},

{"Arctan", 'c'},

{"ArcctG", 'D'},

{"arcsec", 'e'},

{"arccsc", 'f'},

{"ArctG", 'c'},

{"asin", 'a'}, arssin

{"acOS", 'b'}, Arccos

{"atan", 'c'},

{"ACTG", 'D'},

{"accec", 'e'},

{"ACSC", 'f'},

{"FABS", 'g'}, absolute value

{"EXP", 'h'},

{"cos", 'i'},

{"ctg", 'j'},

{"Tan", 'k'},

{"sec", 'l'}, cutting

{"CSC", 'm'}, after

{"cth", 'n'}, double curvature

{"sin", 'o'},

{"ABS", 'g'},

{"TG", 'k'},

{"ln", 'p'},

{"sh", 'q'}, double songs

{"th", 'r'}, hyperixuan

{"CH", 's'}, hypecnas

{"log", 't'} logarithm

3 can identify constant E and the circumference PI

4. You can identify the omission

Such as: 3 * (3 4) can input 3 (3 4)

3 * sin (pi / 4) can be input 3SIN (PI / 4);

(3 4) * (3 4) can be input (3 4) (3 4)

5. The input of the function can be omitted like a mathematically (except for the logarithmic function of the base)

Such as: sin (pi) can input SINPI like this

6. Small than 1 decimal can omit 0 columns in the decimal point such as: 0.123 can be input. 123

0.2 * 0.3 can be entered like this .2 * .3

7. Enter the input format of the logarithmic function log (base, true number), LN true

Such as: log (e, 3.3);

LNE

8. You can identify the positive and negative number (not added)

Such as: -3 4

4 (- 4 4)

9. Combination of functions that can identify almost all legal operation symbols

Such as: sin cos tan sin (pi / 4)

LOG (E, COS (PI / 4))

If the display color of the screen is abnormal, please recompile

转载请注明原文地址:https://www.9cbs.com/read-95961.html

New Post(0)