למשל זה מה שניסיתי ולא עבד:
#include <stdio.h>
#include <math.h>typedef enum Operator; //define new type called Operator from type enum
int main()
{
Operator {illegal=1,add,sub,multi,div,power,root,abs_value,equal};
CalculateExpression();
}
void CalculateExpression()
{
הוא נותן error ש operator לא מוגדר...
תודה...