[ad_1]
Once a binary is created from C++ source files, the original source files are not needed in order to run the program. You can distribute only the compiled program.
[ad_2]
solved How to compile C++ codes in Linux with source files hidden? [closed]