demo/reader_writer_demo.cc
changeset 1583 2b329fd595ef
parent 1534 b86aad11f842
child 1636 260ac104190f
     1.1 --- a/demo/reader_writer_demo.cc	Fri Jul 22 15:03:23 2005 +0000
     1.2 +++ b/demo/reader_writer_demo.cc	Fri Jul 22 15:15:29 2005 +0000
     1.3 @@ -1,3 +1,28 @@
     1.4 +/* -*- C++ -*-
     1.5 + * demo/lp_maxflow_demo.cc - Part of LEMON, a generic C++ optimization library
     1.6 + *
     1.7 + * Copyright (C) 2005 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     1.8 + * (Egervary Research Group on Combinatorial Optimization, EGRES).
     1.9 + *
    1.10 + * Permission to use, modify and distribute this software is granted
    1.11 + * provided that this copyright notice appears in all copies. For
    1.12 + * precise terms see the accompanying LICENSE file.
    1.13 + *
    1.14 + * This software is provided "AS IS" with no warranty of any kind,
    1.15 + * express or implied, and with no claim as to its suitability for any
    1.16 + * purpose.
    1.17 + *
    1.18 + */
    1.19 +
    1.20 +///\ingroup demos
    1.21 +///\file
    1.22 +///\brief Demonstrating graph input and output
    1.23 +///
    1.24 +/// This simple demo program gives an example of how to read and write
    1.25 +/// a graph and additional maps (on the nodes or the edges) from/to a
    1.26 +/// stream. 
    1.27 +
    1.28 +
    1.29  #include <iostream>
    1.30  #include <lemon/smart_graph.h>
    1.31  #include <lemon/invalid.h>
    1.32 @@ -18,7 +43,7 @@
    1.33      reader.run();
    1.34  
    1.35      std::cout << "Hello! We have read a graph from file " << filename<< 
    1.36 -      " and some maps on it: now we write this to the standard output!" << 
    1.37 +      " and some maps on it:\n now we write it to the standard output!" << 
    1.38        std::endl;
    1.39  
    1.40