Files
calculator/structures.h
2025-10-29 19:46:56 +01:00

25 lines
341 B
C

//
// Created by marto on 25. 10. 25.
//
#ifndef CALCULATOR_STRUCTURES_H
#define CALCULATOR_STRUCTURES_H
typedef enum {
Digit,
Operator,
Invalid,
} charType;
typedef struct {
charType type;
size_t opPrecedence;
} charResult;
typedef struct {
char *string;
int len;
} string;
#endif //CALCULATOR_STRUCTURES_H