c++ #include semantics


this churned doubt same pre-processing instruction.



1 - <> "" ?



apart info found msdn:





1.a: differences between twin notations?

1.b: compilers exercise same way?

1.c: <>, "" (i.e. criteria header include)?



2 - #include {theproject/theheader.hpp} {theheader.hpp} ?



i've seen during slightest twin ways minute includes one's digest headers.
considering have during slightest 4 forms headers, is:




  • private headers your project?

  • headers your project, nonetheless exporting black (and thus, "public")

  • headers another digest your way links with

  • headers compiler customary library



for any kind headers:



2.a: <> "" ?

2.b: consolidate {theproject/theheader.hpp}, {theheader.hpp} only?



3 - bonus



3.a: work digest sources and/or headers within tree-like organization (i.e., directories inside directories, opposing "every record directory") pros/cons?



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members