刚刚开始 C++在Xcode中

发布于 2024-10-01 06:14:49 字数 352 浏览 4 评论 0原文

......我的意思是字面上才刚刚开始。比如,我今天早些时候才开始。

我想做的就是弄清楚如何从我的教科书中构建和运行“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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

溺ぐ爱和你が 2024-10-08 06:14:59

在“新建项目”窗口中,选择“应用程序”>“新建项目”。命令行工具,然后从类型下拉列表中选择“C++ stdc++”。

In the "New Project" window, select Application > Command Line Tool, and choose "C++ stdc++" from the Type drop down.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文