V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
EchoChan
V2EX  ›  C

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

  •  
  •   EchoChan · Jun 23, 2015 · 1187 views
    This topic created in 3962 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
        1
    EchoChan  
    OP
       Jun 23, 2015
    又没有人帮一下忙啊?谢谢。
    ehs2013
        2
    ehs2013  
       Jun 24, 2015
    #include <fstream>
    EchoChan
        3
    EchoChan  
    OP
       Jun 24, 2015
    @ehs2013 原来是混淆了C库和C++库,谢谢。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3396 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 10:53 · PVG 18:53 · LAX 03:53 · JFK 06:53
    ♥ Do have faith in what you're doing.