Changeset 1290:082fc511c2b9 in lemon-0.x for src/work/peter
- Timestamp:
- 04/01/05 15:42:31 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1723
- Location:
- src/work/peter
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/peter/Makefile
r1277 r1290 6 6 7 7 run: gd 8 ./gd 8 ./gd graphocska.lgf 9 9 10 10 .PHONY: run -
src/work/peter/graph-displayer.cc
r1289 r1290 280 280 int main(int argc, char *argv[]) 281 281 { 282 if(argc<2) 283 { 284 std::cerr << "USAGE: gd <input filename.lgf>" << endl; 285 return 0; 286 } 282 287 283 288 Coordinates coosvector; … … 292 297 CoordReaderMap yreader('y',cm); 293 298 294 std::ifstream is( "graphocska.lemon");299 std::ifstream is(argv[1]); 295 300 296 301 GraphReader<Graph> reader(is, g);
Note: See TracChangeset
for help on using the changeset viewer.