When you generate C Code from a Class with Enterprise Architect from Sparxsystems by default it is almost empty. There is a setting that you have to make to succeed! “Object Oriented Support” needs to be set to “True”.

image

Now you will get something useful:

image