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 My apologies. I looked in the wrong place. gcc 4.2.4 does provide <backward/fstream.h>. However, that deprecated file was removed for the gcc 4.3 release. Ian