How to set sublime text2 on mac for c++?

I have tryed to compile c++ on sublime text2, however it compiled with a wrong way, it didn't let me to give input to a and just go straight to the next step and the value of a is a random number. I have set the building system to c++ and have downloaded the gcc in my computer,but it is doesn't work, Is anyone could tell me how to set the sublime text2 on mac for c++.

阅读 5.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题