I am trying to declare a structure type and have the members initialized to particular values such as shown below (this would not compile):
int x =0;
int y =0;
In C++ or Java I would use a constructor for a class and am looking for the equivalent in C.
Any input would be greatly appreciated.