title: Compile error: undefined reference to
body: <p>Im trying to run the code thats is available in the bottom of this page: <a href="http://www.rolfmuertter.com/code/nw.php" rel="nofollow">http://www.rolfmuertter.com/code/nw.php</a> (main.cpp, nw.cpp and nw.h). But im getting the following error when i try to compile:</p>
  
  <p>main.o: In function <code>main':
  main.cpp:(.text+0x1b9): undefined reference to</code>nw(std::string, std::string, std::string&amp;, std::string&amp;, bool)'
  main.cpp:(.text+0x1e4): undefined reference to `print_al(std::string&amp;, std::string&amp;)'
  collect2: error: ld returned 1 exit status</p>
  
  <p>Any sugestions?</p>