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

求助大佬,在 Clion 上运行代码显示原路径

  •  
  •   656344827 · Jun 23, 2019 · 4459 views
    This topic created in 2503 days ago, the information mentioned may be changed or developed.

    MAC 版的 Clion 运行代码之后就一直在 Run 必须要点击红色小方块 Stop 才能停止 底下的运行结果如下 /Users/windzz/CLionProjects/untitled4/cmake-build-debug/untitled4 Process finished with exit code 15 已经安装从 APP store 下载的 Xcode 了。

    代码如下: #include <stdio.h> #include <math.h>

    int main() { double a,b,c,s,area; scanf("%lf,%lf,%lf",&a,&b,&c); s=(a+b+c)/2; area=sqrt(s*(s-a)(s-b)(s-c)); printf("a=%f\tb=%f\tc=%f\n",a,b,c); return 0; }

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   954 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 22:59 · PVG 06:59 · LAX 15:59 · JFK 18:59
    ♥ Do have faith in what you're doing.