| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 11/29/03 2:51 PM, Alexander Cohen wrote:_______________________________________________What would be the best way to share a C++ class wich i have written
without actually sharing the source code (open source). I know i could
wrap the whole thing up into a regular c style library but i would
rather the user be able to have access to the actual C++ class. Is this
at all possible? All my attemps have failed up to now!
Make a C style library. That is your private implementation. Ship it with
the source for a C++ class that calls the private implementation.
Tom
--
Tom Becker "Within C++, there is a much smaller and
Object-Oriented Propeller Head cleaner language struggling to get out."
<email@hidden> -- Bjarne Stroustrup
| References: | |
| >Re: sharing c++ class (From: Tom Becker <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.