Compiler/Simple file inclusion pre processor: Difference between revisions

Content added Content deleted
(Wording...)
(Typos)
Line 18: Line 18:
<br>
<br>
<br>
<br>
If your language does not have a standard facility for file-inclusion, implement that of used by a popular compiler for the language.
If your language does not have a standard facility for file-inclusion, implement that used by a popular compiler for the language.
<br>
<br>
If there is no-such feature (e.g. more recent OO languages use import/using/etc. statements to include pre-compiled class definitions), either use the C style #include directive or choose something of your own invention.
If there is no such feature (e.g. more recent OO languages use import/using/etc. statements to include pre-compiled class definitions), either use the C style #include directive or choose something of your own invention.
<br>
<br>
<br>
<br>
Line 32: Line 32:
NOTE to anyone who uses the pre-processors on this page:
NOTE to anyone who uses the pre-processors on this page:
<br>
<br>
They are supplied as-is, with no warrenty - use at your own peril : )
They are supplied as-is, with no warranty - use at your own peril : )