P
P
Pavel Ryabov2019-05-10 21:40:09
C++ / C#
Pavel Ryabov, 2019-05-10 21:40:09

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

3 answer(s)
V
Vitaly, 2019-05-10
@SkayMark

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

G
German, 2019-05-10
@mrjbom

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 .

G
Georg Gaal, 2019-05-11
@gecube

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 question

Ask a Question

731 491 924 answers to any question