With this code:
http://www.rpi.edu/~doriad/Daniweb/maxflow/
If I run
g++ Example.cpp graph.cpp
with g++ 3.3, everything works fine. However if I run the same command with g++ 4.4, I get this error:
Example.cpp:(.text+0x38): undefined reference to `Graph<int, int, int>::Graph(int, int, void (*)(char*))'
Does anyone know how I can get this to work with g++ 4.4?
Thanks!
David