74 lines
3.9 KiB
HTML
74 lines
3.9 KiB
HTML
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="GENERATOR" content="Mozilla/4.75 [en] (X11; U; Linux 2.2.17-21mdksmp i686) [Netscape]">
|
|
<title>Tutorial: Solutions</title>
|
|
</head>
|
|
<body text="#000000" link="#0000EE" vlink="#551A8B" alink="#FF0000" background="beige009.jpg">
|
|
<a href="eoTutorial.html">Tutorial main page</a> -
|
|
<a href="eoTopDown.html">Top-Down
|
|
page</a> - <a href="eoBottomUp.html">Bottom-up page</a> - <a href="eoProgramming.html">Programming
|
|
hints</a> -<font face="Arial,Helvetica"><font size=+1><a href="doc/html/index.html">EO
|
|
documentation</a></font></font>
|
|
<br>
|
|
<hr WIDTH="100%"><!-- -------------- End of header ------------------ --><!-- ----------------------------------------------- -->
|
|
<center>
|
|
<h1>
|
|
<font color="#FF0000">Tutorial:</font></h1></center>
|
|
|
|
<center><b><font color="#FF0000"><font size=+2>Solutions of exercises</font></font></b></center>
|
|
|
|
<p>No, <b><font color="#33CC00">w</font><font color="#FF9900">e </font><font color="#CC66CC">w</font><font color="#33CCFF">o</font><font color="#FFFF00">n</font><font color="#FF0000">'t</font><font color="#999999">
|
|
p</font><font color="#999900">r</font><font color="#CC6600">o</font><font color="#993399">v</font><font color="#006600">i</font><font color="#990000">d</font><font color="#867CE9">e
|
|
</font></b><font color="#000000">any
|
|
hypertext link directly to the correct code, so</font> you get a chance
|
|
to find out the solution by yourself without immediately going there
|
|
:-)))
|
|
<p><b><font color="#000099"><font size=+2>What you should do:</font></font></b>
|
|
<ul>
|
|
<li>
|
|
copy the code of an example onto another name (e.g. <b><tt><font color="#660000">mytest.cpp</font></tt></b>)</li>
|
|
|
|
<li>
|
|
edit and modify <b><tt><font color="#660000">mytest.cpp</font></tt></b>
|
|
according to the corresponding instructions of the exercise</li>
|
|
|
|
<li>
|
|
compile <b><tt><font color="#660000">mytest.cpp</font></tt></b> by typing
|
|
<b><tt><font color="#FF6666">make mytest</font></tt></b> at system prompt,
|
|
and you will hopefully get an executable file named <b><tt><font color="#660000">mytest</font></tt></b>
|
|
(for Unix systems: if eventually someone tells me how to do that in Windows,
|
|
apart that you'll probably end up with an executable file named <b><tt><font color="#660000">mytest.exe...</font></tt></b>).</li>
|
|
</ul>
|
|
|
|
<hr WIDTH="100%">
|
|
<br><b><font color="#000099"><font size=+2>What you may do later:</font></font></b>
|
|
<p>All solutions to exercises are in the same<b><font color="#FF6600">
|
|
sub-dir</font></b> of the Tutorial directory than the example files (i.e.
|
|
Lesson1 for Lesson1, yes!). Hence you may browse through the code, eventually
|
|
modifying it, and then simply type, in the corresponding directory,
|
|
<br><b><tt><font color="#FF6666">... % make exerciseN</font></tt></b>
|
|
<br>which will compile file <b><tt><font color="#660000">exerciseN.cpp</font></tt></b>
|
|
into executable <b><tt><font color="#660000">exerciseN</font></tt></b>
|
|
(for Unix systems: if eventually someone tells me how to do that in Windows,
|
|
you'll probably end up with an executable file named <b><tt><font color="#660000">exerciseN.exe</font></tt></b>).
|
|
<p>
|
|
<hr WIDTH="100%">
|
|
<br><b><font color="#000099"><font size=+2>What you may not do:</font></font></b>
|
|
<center>Complain that it does not work under Windows :-)</center>
|
|
|
|
<hr WIDTH="100%"><a href="eoTutorial.html">Tutorial main page</a> -
|
|
<a href="eoTopDown.html">Top-Down
|
|
page</a> - <a href="eoBottomUp.html">Bottom-up page</a> - <a href="eoProgramming.html">Programming
|
|
hints</a> - <font face="Arial,Helvetica"><font size=+1><a href="doc/html/index.html">EO
|
|
documentation</a></font></font>
|
|
<br>
|
|
<hr>
|
|
<address>
|
|
<a href="mailto:Marc.Schoenauer@polytechnique.fr">Marc Schoenauer</a></address>
|
|
|
|
<br><!-- Created: Fri Nov 3 18:49:12 CET 2000 --><!-- hhmts start -->Last
|
|
modified: Fri Nov 3 18:49:12 CET 2000<!-- hhmts end -->
|
|
</body>
|
|
</html>
|