it seems that separate them into src and hdr is a popular solution. however, this is not the case in Netbeans: by default, netbeans will put both hpp and cpp files in the same directory.
questions:
-
should I separate them or not? why?
-
if 1 is yes, is there any way to automatically set this in Netbeans?
If you plan to distribute a library as binaries and headers, it might be easier to have the headers in a separate directory to begin with.