I am trying to convert some C++ code to C, and I am facing some problems.
How can I define a function inside a structure?
Like this:
typedef struct { double x, y, z; struct Point *next; struct Point *prev; void act() {sth. to do here}; } Point;