Changeset 126:89c6e4687fcc in lemon-0.x for doc-docbook/src/xml/osztaly-forma.xml
- Timestamp:
- 02/24/04 17:36:02 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@172
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc-docbook/src/xml/osztaly-forma.xml
r123 r126 28 28 }; 29 29 30 31 30 void lookup(const map_type& Map, const char* str) 32 31 { … … 35 34 36 35 </programlisting> 37 </etik:example> 36 37 Vigyázat, a programlisting mód parsolt, és minden <![CDATA[<]]>-t értelmez! 38 Elõnye, hogy lehet bele linkeket csinálni, de talán kényelmesebb egy LaTeX-szerû 39 verbatim-mód, ezt valósítja meg az <![CDATA[<etik:code>]]> element. 40 41 <etik:code> 42 int _i=1; 43 int _ii=1; 44 ListGraph::EdgeMap<int> my_edge_property(G); 45 for(EachEdgeIt i=G.first<EachEdgeIt>(); i.valid(); ++i) { 46 my_edge_property.set(i, _i); 47 _i*=_ii; ++_ii; 48 } 49 </etik:code> 50 </etik:example> 38 51 39 52 <etik:definition>
Note: See TracChangeset
for help on using the changeset viewer.