Posts

Showing posts from February, 2023

C operator ,array operator just added not compiled or tested

/******************************************************************************       Expression Resolver For C programming language v1.5         Designed by Daipayan Bhowal        Using Priority linked list to solve expression evaluation *******************************************************************************/ #include <stdio.h> #include <ctype.h> #include <stdlib.h> #include <string.h> #define OPERAND 255 #define OPERATOR -255 //#define INT 33 #define INIT_PRIORITY -1 enum Ty {     INT,     FLOAT,     CHAR,     STRING,     FCONST,     I_ARRAY,     F_ARRAY,     CONST = 256 }; enum Priority {     ZERO_OP=129,     OR_EQ_OP, /* 130 */     XOR_EQ_OP, /* 131 */     AMP_EQ_OP, /* 132 */  ...