iostream.h, fstream.h cannot be found

后端 未结 3 1710
有刺的猬
有刺的猬 2020-12-20 15:26

I have a 32 bit machine and I am running Ubuntu 9.10 on it. I have the latest gcc compiler. The problem that I am facing is that I have a library developed in 2002. The code

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-20 15:56

    The fstream.h and similar files are pre-standard versions of the fstream and similar files specified by the C++ Standard that come with modern compilers. The two are not typically compatible. Frankly, if no-one has updated the library to comply with the standard in the last 8 years, it is unlikely to be worth using.

提交回复
热议问题