The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
7answers
4k views

Why do we need to include the .h while everything works when including only the .cpp file?

Why do we need to include both the .h and .cpp files , while we can make it works with making just a .cpp file and then including it . For example, Creating a file.h containing declarations, then ...
2
votes
2answers
186 views

Can I distribute a GPL executable (not a library) in a closed-source application? [duplicate]

I want to write a closed-source desktop application that uses a piece of GPL software in the background. I know that I can't link to a GPL library (libgit.a). But if I embed a GPL application ...