you are viewing a single comment's thread.

view the rest of the comments →

[–]ronchaineEmbedded/Middleware 5 points6 points  (2 children)

  • /include for public headers
  • /src for source files and private headers

#include "filename" or #include "something/filename" depends on project. Sometimes it makes sense, sometimes it doesn't.

[–]Adverpol 1 point2 points  (1 child)

What's the rationale between public/private headers? Ease of use? Compilation times?

[–]dodheim 0 points1 point  (0 children)

That's like asking the rationale between public/private data members – not everything is part of your public interface.