when I run a simple C++ program on Xcode, the compiler says it's built successfully, but there is no output. how can I make the result show up? thanks!
asked Oct 28, 2011 at 19:09
user1018965
-
Are you talking about text output (like in a terminal window), or binary output (like a library or executable)?Maxpm– Maxpm2011年10月28日 19:27:18 +00:00Commented Oct 28, 2011 at 19:27
-
i'm talking about text outputuser1018965– user10189652011年10月28日 19:41:46 +00:00Commented Oct 28, 2011 at 19:41
2 Answers 2
Cmd-Enter is the default "build and run" keyboard hotkey. Once you've pressed that, use Cmd-Shift-R to open the console and see your program's output.
answered Oct 28, 2011 at 19:12
Maxpm
26.1k35 gold badges122 silver badges179 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
in the tab Groups and file, under the xcode icon of your project there are 3 folders, Source, Documentation, Products, under Products there is your executable. hth
answered Oct 28, 2011 at 19:22
Pella86
5003 gold badges10 silver badges18 bronze badges
Comments
lang-cpp