- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
- 93
- 94
- 95
- 96
- 97
- 98
#include <ctype.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int evaluatePostfixExpression_2(char *, int memory_smp[], int *count_command);
int calculate_2(int, int, char, int memory_smp[], int *count_command);
typedef struct mode_intro {
int type;
int data[2];
} expr_if;
int main(int argc, char *argv[]) {
expr_if rn_data[125];
/* != */
rn_data[94].type = 2;
rn_data[94].data[0] = 4100;
rn_data[94].data[1] = 4100;
/* != */
/* == */
rn_data[122].type = 1;
rn_data[122].data[0] = 4200;
/* == */
/* <= */
rn_data[121].type = 2;
rn_data[121].data[0] = 4200;
rn_data[121].data[1] = 4100;
/* <= */
/* < Øèâîðîò íà âûâîðîò */
rn_data[60].type = 1;
rn_data[60].data[0] = 4100;
/* < */
/* >= */
rn_data[123].type = 2;
rn_data[123].data[0] = 4200;
rn_data[123].data[1] = 4100;
/* >= */
/* > */
rn_data[62].type = 1;
rn_data[62].data[0] = 4100;
/* > */
char infix[150];
char postfix[150];
int line_simple_comands_input_print(int cmd, data *table, int token,
int memory[]);
int past_in_table_cons_or_value(data * table, char *str_tok);
int ab = 0;
int swp = 0;
int goto_search(data * table, char *token);
int search_cmd(char *dict[15], char *token);
char *comparison_signs = "> < <= >= == !=";
int token_string_count = 0;
data symbolTable[100];
int cnt = 0;
int d = 0;
int count_if = 0;
int flags[100];
int mem_smp[100];
char copy_buf_data[150][150] = {{0}};
char post_buf[150];
int count_cmd = 0;
int sign_ch;
FILE *file_buf;
char *buffer = 0;
char *intro_buffer = 0;
int save_left_side = 0, save_exp = 0;
int goto_flag = 0;
int count_table_intro = 0;
int count_table_extra = 0;
char name_file[100];
char buffer_postfix[150];
char buf_data[150][150] = {{0}};
int val_if[3] = {0};
int data_if[150] = {0};
data_if[60] = 4100;
data_if[61] = 1;
guest6 04.10.2023 17:21 # 0