Archived

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

wah_on_2

How to publish my c++ class?

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
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