EchoChan
V2EX  ›  C

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

  •  
  •   EchoChan · Jun 23, 2015 · 1402 views
    This topic created in 4136 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   ·   Privacy   ·   Solana   ·   5393 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 09:14 · PVG 17:14 · LAX 02:14 · JFK 05:14
    ♥ Do have faith in what you're doing.