EchoChan
V2EX  ›  C

Clion 环境下的头文件包含了 fstream.h,为什么会提示 file not found 呢?

  •  
  •   EchoChan · Jun 23, 2015 · 1440 views
    This topic created in 4174 days ago, the information mentioned may be changed or developed.
    os x系统下,参考了http://stackoverflow.com/questions/2225277/iostream-h-fstream-h-cannot-be-found
    是因为gcc编译的缘故吗?
    3 replies  •  2015-06-24 07:26:24 +08:00
    EchoChan
    EchoChan
    OP
    Jun 23, 2015
    1
    又没有人帮一下忙啊?谢谢。
    ehs2013
    ehs2013
    Jun 24, 2015
    2
    #include <fstream>
    EchoChan
    EchoChan
    OP
    Jun 24, 2015
    3
    @ehs2013 原来是混淆了C库和C++库,谢谢。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4862 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 02:51 · PVG 10:51 · LAX 18:51 · JFK 21:51
    ♥ Do have faith in what you're doing.