刚刚开始 C++在Xcode中
......我的意思是字面上才刚刚开始。比如,我今天早些时候才开始。
我想做的就是弄清楚如何从我的教科书中构建和运行“hello_world”代码,但是“构建并运行”按钮不会亮起。我已通读“Xcode 功能概述”并查看了一些帮助论坛,很明显,我的模板中需要一些我没有的文件。我认为问题在于,当我应该从“C++ 工具”模板开始时,我却从空白模板开始。这看起来应该非常简单,但是当我点击文件/新建项目...助手时不会弹出,而是出现一个窗口,其中选项非常有限,包括应用程序、框架和应用程序。库、应用程序插件、系统插件等。我觉得我可以从帮助论坛和参考文档中获取很多内容,但我绝对需要首先弄清楚如何成功构建和运行程序
XD我有 Xcode 3.2.2 如果它有影响的话
...and I mean LITERALLY just beginning. As in, I just started earlier today.
All I want to do is figure out how to build and run a 'hello_world' code from my textbook, but the 'build and run' button will not light up. I have read through 'Xcode Features Overview' as well as checking out at some help forums, and it's clear that I need files in my template that I just don't have. I think the issue is that I'm starting with a blank template when I should be starting with a 'C++ tool' template. This seems like it should be incredibly simple, but when I hit file/New Project... assistant does not pop up, instead I get a window with very limited options including Application, Framework & Library, Application Plug-in, System Plug-in and Other. I feel like I can pick a lot of this up from help forums and reference documents but I definitely need to figure out how to successfully build and run a program first XD
P.S. I have Xcode 3.2.2 if it makes a difference
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在“新建项目”窗口中,选择“应用程序”>“新建项目”。命令行工具,然后从类型下拉列表中选择“C++ stdc++”。
In the "New Project" window, select Application > Command Line Tool, and choose "C++ stdc++" from the Type drop down.