Initial commit

This commit is contained in:
2025-10-29 19:46:56 +01:00
commit d665218448
5 changed files with 544 additions and 0 deletions

24
structures.h Normal file
View File

@@ -0,0 +1,24 @@
//
// 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