Can a Class Library be built containing c code? If so, how?
A:
If by that you mean whether it's possible to write object oriented code in C, then yes. The first results from Google when searching for Object Oriented Programming in C:
Object Oriented Programming in C
Object-Oriented Programming with ANSI C (PDF)
ANSI C and object-oriented programming
I'm sure you can find the rest of the few hundred different papers on the topic.
A good example is the GLib library.
Mihai Limbășan
2009-04-08 14:31:27
Actually, I have c code with which I would like to a library, preferably a Class Library DLL. But I don't know if this is possible.Alternatively, is there a way to package this code into a library which is accessible from a VS2008 solution?
2009-04-09 02:46:24
It's still highly unclear what you mean. Even more unclear, if that was possible. Perhaps you could rephrase your question?
Mihai Limbășan
2009-04-09 04:46:33