• Advertisement

Archived

This topic is now archived and is closed to further replies.

How to publish my c++ class?

This topic is 5594 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If i wrote a C++ class and compiled, i will have some files. If i want to publish this class, which files should i publish? In fact, I cannot publish my C++.cpp file, because i don''t want people to view or modify my .cpp code. Also, How setting should people set if they use my class? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Why don't you want to release the .cpp files? What's so bad if people are able to edit and modify your code?

[edited by - damienj on November 3, 2002 4:03:32 PM]

Share this post


Link to post
Share on other sites
If you want to release your library without releasing the source, you''ll have to release compiled static/dynamic libraries. You''ll also need to release the header files.

Fair warning, tho: If you do this, nobody will ever use your library. No programmer would want to use a library he doesn''t have the source to and can''t tweak, especially when there are better alternatives.


Don''t listen to me. I''ve had too much coffee.

Share this post


Link to post
Share on other sites

  • Advertisement