EchoChan
V2EX  ›  C

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

  •  
  •   EchoChan · Jun 23, 2015 · 1303 views
    This topic created in 4057 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   ·   2848 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 08:45 · PVG 16:45 · LAX 01:45 · JFK 04:45
    ♥ Do have faith in what you're doing.