equal
deleted
inserted
replaced
18 |
18 |
19 namespace lemon { |
19 namespace lemon { |
20 /** |
20 /** |
21 [PAGE]hello_lemon[PAGE] Compile Your First Code |
21 [PAGE]hello_lemon[PAGE] Compile Your First Code |
22 |
22 |
23 First of all you have to install LEMON on your system (see |
23 First of all, you have to install LEMON on your system (see the |
24 <a href="http://lemon.cs.elte.hu/trac/lemon/wiki/InstallGuide"><b>our |
24 <a href="http://lemon.cs.elte.hu/trac/lemon/wiki/InstallGuide"><b>Installation |
25 web page</b></a> for instructions). |
25 Guide</b></a> for instructions). |
26 After that you can paste the following code segment into a file |
26 In this section, we assume that you use a Linux environment and |
27 <tt>hello_lemon.cc</tt> to have a first working program that uses LEMON. |
27 <a href="http://gcc.gnu.org/">GCC</a> compiler. |
|
28 |
|
29 Once you have installed the library, you may paste the following code segment |
|
30 into a file <tt>hello_lemon.cc</tt> to have a first working program that uses |
|
31 LEMON. |
28 |
32 |
29 \dontinclude hello_lemon.cc |
33 \dontinclude hello_lemon.cc |
30 \skip #include |
34 \skip #include |
31 \until } |
35 \until } |
32 |
36 |
33 In this small example a directed graph is created with two nodes and |
37 In this small example, a directed graph is created with two nodes and |
34 an arc added to it. |
38 an arc added to it. |
35 |
39 |
36 Now let us compile this code. |
40 Now let us compile this code. |
37 (We suppose that you have it in a file called <tt>hello_lemon.cc</tt>.) |
41 (We suppose that you have it in a file called <tt>hello_lemon.cc</tt>.) |
38 |
42 |
67 We have a directed graph with 2 nodes and 1 arc. |
71 We have a directed graph with 2 nodes and 1 arc. |
68 \endverbatim |
72 \endverbatim |
69 |
73 |
70 If you managed to compile and run this example code without any problems, |
74 If you managed to compile and run this example code without any problems, |
71 you may go on reading this tutorial to get to know the basic notions, |
75 you may go on reading this tutorial to get to know the basic notions, |
72 features and tools of LEMON. However if you encountered problems that |
76 features and tools of LEMON. However, if you encountered problems that |
73 you did not manage to solve, do not hesitate to |
77 you did not manage to solve, do not hesitate to |
74 <a href="mailto:lemon-user@lemon.cs.elte.hu"><b>contact us</b></a>. |
78 <a href="mailto:lemon-user@lemon.cs.elte.hu"><b>contact us</b></a>. |
75 |
79 |
76 [TRAILER] |
80 [TRAILER] |
77 */ |
81 */ |