[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Include directive



PureBytes Links

Trading Reference Links

because I would like to use some very special features of the #include directive, therefore, I would like to ask you a few questions about its application procedure:

1. Can I use any extension of up to three letters such as .h or .ghz for a file to be included with the directive #include?

2. Is it always necessary to specify the path such as

#include "C:\MyFolder\MyAFL Source Code\macd.new"

or does the pre-processor look into a default directory, which is common practice with Visual C++, for example?

3. Suppose A, B1, B2, and C are AFL source-code files. File A should be included into B1, B2, and also into C. In addition, the files B1 and B2 shouldbe included into C. Is that possible?

4. Now, let's assume A, B, and C are AFL source-code files. The file A should be included into B and also B ought to be included into C. Is that possible as well?

Thank you very much for answering my questions and assisting me in this matter!

Best Regards,

Udo

------=_NextPart_001_0016_01C27CE5.7DBA1FA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE id=ridTitle>Schlicht</TITLE><BASE 
href="file://C:\Programme\Gemeinsame Dateien\Microsoft Shared\Stationery\">
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE>BODY {
MARGIN-TOP: 25px; FONT-SIZE: 10pt; MARGIN-LEFT: 25px; COLOR: #000000; FONT-FAMILY: Arial, Helvetica
}
P.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; FONT-FAMILY: Helvetica, "Times New Roman"
}
LI.msoNormal {
MARGIN-TOP: 0px; FONT-SIZE: 10pt; MARGIN-LEFT: 0px; COLOR: #ffffcc; FONT-FAMILY: Helvetica, "Times New Roman"
}
</STYLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY id=ridBody bgColor=#ffffff 
background=cid:001401c27cd4$ba314fa0$52afe33e@x...>
<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>because I would like to use some very special features of the <FONT 
color=#ff00ff>#include</FONT> directive, therefore, I would like to ask you a 
few questions about its application procedure:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1. Can I use <U>any</U> extension of <U>up to three letters</U> such as 
<FONT color=#008000><STRONG>.h</STRONG></FONT> or <FONT 
color=#008000><STRONG>.ghz</STRONG></FONT> for a file to be <U>included</U> with 
the directive #include?</DIV>
<DIV>&nbsp;</DIV>
<DIV>2. Is it always <U>necessary</U> to specify the path such as</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <FONT color=#ff00ff>#include</FONT> 
<FONT color=#0000ff>"C:\MyFolder\MyAFL Source Code\<FONT 
color=#008000>macd.new</FONT>"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>or does the pre-processor <U>look into a default directory</U>, which is 
common practice with Visual C++, for example?</DIV>
<DIV>&nbsp;</DIV>
<DIV>3. Suppose <FONT color=#0000ff><STRONG>A</STRONG></FONT>, <STRONG><FONT 
color=#0000ff>B1</FONT></STRONG>, <FONT 
color=#0000ff><STRONG>B2</STRONG></FONT>, and <FONT 
color=#0000ff><STRONG>C</STRONG></FONT> are AFL source-code files. File 
<STRONG><FONT color=#0000ff>A</FONT></STRONG> should be <U>included</U> into 
<STRONG><FONT color=#0000ff>B1</FONT></STRONG>, <FONT 
color=#0000ff><STRONG>B2</STRONG></FONT>, and also into <STRONG><FONT 
color=#0000ff>C</FONT></STRONG>. In addition, the files <FONT 
color=#008000><STRONG>B1</STRONG></FONT> and <FONT 
color=#008000><STRONG>B2</STRONG></FONT> should be <U>included</U> into 
<STRONG><FONT color=#008000>C</FONT></STRONG>. Is that possible?</DIV>
<DIV>&nbsp;</DIV>
<DIV>4. Now, let's assume <STRONG><FONT color=#0000ff>A</FONT></STRONG>, 
<STRONG><FONT color=#0000ff>B</FONT></STRONG>, and <FONT 
color=#0000ff><STRONG>C</STRONG></FONT> are AFL source-code files. The file 
<STRONG><FONT color=#0000ff>A</FONT></STRONG> should be <U>included</U> into 
<STRONG><FONT color=#0000ff>B</FONT></STRONG> and also <STRONG><FONT 
color=#008000>B</FONT></STRONG> ought to be <U>included</U> into <STRONG><FONT 
color=#008000>C</FONT></STRONG>. Is that possible as well?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you very much for answering my questions and assisting me in this 
matter!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best Regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Udo</DIV>
<DIV>&nbsp;</DIV></DIV></BODY></HTML>

------=_NextPart_001_0016_01C27CE5.7DBA1FA0--

Attachment: Description: ""