|
|
@ -10,8 +10,8 @@ op functionsType; |
|
|
|
char* formular; |
|
|
|
double inputNumbers[10]; |
|
|
|
int arrayLength; |
|
|
|
void* child; |
|
|
|
void* parent; |
|
|
|
void* child[10]; // all children structs which depends on this struct |
|
|
|
void* parent; // the parent struct which this struct depends on |
|
|
|
double result; |
|
|
|
}calc_op; |
|
|
|
|
|
|
@ -21,5 +21,6 @@ extern void deleteWhitespace(char* formStr, int len); |
|
|
|
extern op detectFunctionOperator(char* formStr, int len); |
|
|
|
extern char* getNumbers(char* formStr, int len, calc_op* formRef); |
|
|
|
extern void showStruct(calc_op* formRef); |
|
|
|
extern calc_op* getNextCalc(); |
|
|
|
|
|
|
|
#endif // INPUTHANDLING_H |