KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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;
Tags (comma-separated)
Save Edits
Cancel