Answer the question
In order to leave comments, you need to log in
Should I compile .cpp for a GitHub repository?
At the moment, in my repository on GitHub, I have a dozen .cpp files with their exe's. There are simple programs to demonstrate basic skills. I thought it would be more convenient for those who are interested. Are these exe's really needed for such specific content, do you think?
Answer the question
In order to leave comments, you need to log in
No, there should not be executable files in the repository. They are not universal, they may have strange dependencies, and the github itself is intended for sources.
Here, for example, there is some .gitignore for C ++, use: https://github.com/github/gitignore/blob/master/C%...
What for? I also have such a repository where I store all sorts of basic things.
exe files are not needed, because if desired, this can be compiled on some kind of cpp.sh .
The repository should contain only source codes.
If you want to share binaries, then there is such a thing as GitHub releases.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question