Is there a way to create something like a abstract class in c??
please help!!!!
Is there a way to create something like a abstract class in c??
please help!!!!
Not possible, unless you significantly limit the meaning of the term "abstract class".
From a OO-design perspective, for example, an abstract class is typically defined as a class that must be derived (or inherited) from if it is to be used - and C does not support any form of inheritance.
It is possible to use C structs to represent some aspects of classes but significant care is needed in managing the usage of those structs.