Chris Angelico <rosuav@xxxxxxxxx> writes: > The working system is: > $ g++ --version > g++ (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4) > > The nonworking: > g++ (Ubuntu 4.4.104ubuntu9) 4.4.1 > lcmini.cpp:10:21: error: fstream.h: No such file or directory g++ does not provide a file named fstream.h, either in 4.2.4 or in 4.4.1. I recommend finding out where fstream.h is coming from on the working system. Ian