V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
656344827
V2EX  ›  编程

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

  •  
  •   656344827 · 2019-06-23 11:59:45 +08:00 · 4069 次点击
    这是一个创建于 1769 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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; }

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2619 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 01:51 · PVG 09:51 · LAX 18:51 · JFK 21:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.