c++ - should i put .hpp and .cpp in the same fold or in ./src and ./hdr respectively? -
It seems that separate them into src and HDR is a popular solution. However, it is not in Netbeans: By default, NetBean will maintain both HPP and CPP files in the same directory.
Question:
-
Do I separate or not? Why?
-
If there is 1 yes, then is there a way to set it automatically in Netbeans?
If you distribute a library as binaries and headers If you are planning, then starting the headers in a different directory can be easy.
Comments
Post a Comment