C / C++ struct

Hi,
is it possible to create in header file a typdedef of a struct without defining one nor allocating a memory for one?
Thank you.
I don't really understand what you actually meant. typedef is used is c++ just to give another name of a type(class) that already exist. it does nothing more than giving another name. you can use typedef for struct as well.

and classes/structs without do not use memory unless instantiated.
Topic archived. No new replies allowed.