Constructors in C - TechRepublic
General discussion
October 24, 2001 at 04:33 AM
bfishell

Constructors in C

by bfishell . Updated 24 years, 7 months ago

Is there a way to make a constructor for user defined types using C?
What I want to do is to detect an instantiation of a user defined datatype in a program file, from a header file, where I defined the datatype.
Am I reinventing the wheel?
Thanks.

This discussion is locked

All Comments