Open main menu

Difference between revisions of "AGIWiki/Includes"

18 bytes added ,  15:11, 25 October 2018
m
Text replacement - "<source lang=" to "<syntaxhighlight lang="
m (Text replacement - "</source>" to "</syntaxhighlight>")
m (Text replacement - "<source lang=" to "<syntaxhighlight lang=")
 
Line 16: Line 16:
When the compiler encounters the above line, it will replace it with the contents of "file.txt". So, the following logic file:
When the compiler encounters the above line, it will replace it with the contents of "file.txt". So, the following logic file:


<source lang="cpp">
<syntaxhighlight lang="cpp">
  #include "file.txt"
  #include "file.txt"


Line 31: Line 31:
</syntaxhighlight>
</syntaxhighlight>
would be seen by the compiler as:
would be seen by the compiler as:
<source lang="cpp">
<syntaxhighlight lang="cpp">
  #define ego_on_water f0
  #define ego_on_water f0
  #define new_room    f5
  #define new_room    f5
TrustedUser
2,147

edits