C++ code for reading and writing CONTAM PRJ files