That is for the case of struct gate *inputs[ ] or for struct gates **inputs ???
This data structure is created to represent logic gates input. I have created a program that calculates output of a...
Type: Posts; User: babis99
That is for the case of struct gate *inputs[ ] or for struct gates **inputs ???
This data structure is created to represent logic gates input. I have created a program that calculates output of a...
But how would i use it ??
I mean with the binary tree i could say :
typedef struct data {
int val;
struct data *next[2];
}Data;
i would say that it is a tree of undefined size ????
typedef struct gate {
CallBack f;
struct gate ** inputs;
}Gate;