Changeset 1641:77f6ab7ad66f in lemon-0.x for demo/hello_lemon.cc
- Timestamp:
- 08/18/05 00:07:35 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2154
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/hello_lemon.cc
r1636 r1641 22 22 /// the very basic notions of the LEMON library: \ref graphs "graphs" and 23 23 /// \ref maps-page "maps". Click on the links to read more about these. 24 /// 25 /// \include hello_lemon.cc 24 26 25 27 #include <iostream> … … 82 84 std::cout << std::endl; 83 85 for (EdgeIt i(g); i!=INVALID; ++i) 84 std::cout << "length(" << g.id(g.source(i)) << "," << g.id(g.target(i)) << ")="<<length[i]<<std::endl; 86 std::cout << "length(" << g.id(g.source(i)) << "," 87 << g.id(g.target(i)) << ")="<<length[i]<<std::endl; 85 88 86 89 std::cout << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.