Compiling simple Hello World program on OS X via command line

后端 未结 8 996
梦如初夏
梦如初夏 2020-12-22 16:35

I\'ve got a simple hello world example that I\'m trying to compile on OS X, named hw.cpp:

#include 
#include 
usin         


        
8条回答
  •  醉话见心
    2020-12-22 17:23

    Also, you can use an IDE like CLion (JetBrains) or a text editor like Atom, with the gpp-compiler plugin, works like a charm (F5 to compile & execute).

提交回复
热议问题