equal
deleted
inserted
replaced
15 * purpose. |
15 * purpose. |
16 * |
16 * |
17 */ |
17 */ |
18 |
18 |
19 /** |
19 /** |
20 \page hello_lemon Compile Your First Code |
20 [PAGE]hello_lemon[PAGE] Compile Your First Code |
21 |
21 |
22 If you have installed LEMON on your system you can paste the following |
22 If you have installed LEMON on your system you can paste the following |
23 code segment into a file called <tt>hello_lemon.cc</tt> to have a first |
23 code segment into a file called <tt>hello_lemon.cc</tt> to have a first |
24 working program that uses LEMON. |
24 working program that uses LEMON. |
25 |
25 |
50 an \c int value (length) to each arc, and we set this value for each arc. |
50 an \c int value (length) to each arc, and we set this value for each arc. |
51 Finally we iterate through all arcs again and print their lengths. |
51 Finally we iterate through all arcs again and print their lengths. |
52 |
52 |
53 Now let us compile this simple example program. |
53 Now let us compile this simple example program. |
54 |
54 |
55 \section hello_lemon_system If LEMON is Installed System-Wide |
55 [SEC]hello_lemon_system[SEC] If LEMON is Installed System-Wide |
56 |
56 |
57 If LEMON is installed system-wide (into directory \c /usr/local), |
57 If LEMON is installed system-wide (into directory \c /usr/local), |
58 then it is very easy to compile this program with the |
58 then it is very easy to compile this program with the |
59 following command (the argument <tt>-lemon</tt> tells the compiler |
59 following command (the argument <tt>-lemon</tt> tells the compiler |
60 that we are using the installed LEMON): |
60 that we are using the installed LEMON): |
68 |
68 |
69 \verbatim |
69 \verbatim |
70 ./hello_lemon |
70 ./hello_lemon |
71 \endverbatim |
71 \endverbatim |
72 |
72 |
73 \section hello_lemon_user If LEMON is Installed User-Local |
73 [SEC]hello_lemon_user[SEC] If LEMON is Installed User-Local |
74 |
74 |
75 Compiling the code is a bit more difficult if you installed LEMON |
75 Compiling the code is a bit more difficult if you installed LEMON |
76 user-local into a directory (e.g. <tt>~/lemon</tt>) or if you just |
76 user-local into a directory (e.g. <tt>~/lemon</tt>) or if you just |
77 skipped the step <tt>make install</tt>. |
77 skipped the step <tt>make install</tt>. |
78 You have to issue a command like this. |
78 You have to issue a command like this. |
112 of LEMON. |
112 of LEMON. |
113 Otherwise if you encountered problems that you did not manage to solve, |
113 Otherwise if you encountered problems that you did not manage to solve, |
114 do not hesitate to |
114 do not hesitate to |
115 <a href="mailto:lemon-user@lemon.cs.elte.hu"><b>contact us</b></a>. |
115 <a href="mailto:lemon-user@lemon.cs.elte.hu"><b>contact us</b></a>. |
116 |
116 |
|
117 [TRAILER] |
117 */ |
118 */ |