Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   Problem runnung c++ program (http://www.mac-forums.com/forums/os-x-development-darwin/260761-problem-runnung-c-program.html)

ccsk 12-18-2011 03:37 AM

Problem runnung c++ program
 
http://imageshack.us/photo/my-images...1218at430.png/

Hello, I am a starter of Xcode.
After I pressed the RUN button at the top left, the top blue little box printed out "Build sort2:Succeeded".
However, I can't see the output of my program py.cpp
Please help.

Mark FX 12-18-2011 01:58 PM

First of all, your program does have to have output from its code to the Log, if its a command line tool, if it is, print out the results you want to the Log, you can display this out in two ways.
Firstly on the toolbar where the Run button is, go right to the other end where there are three buttons labeled Views, click the middle one, which will open a log window at the bottom of the editor.
Secondly there is a smaller toolbar under the Run button, click the rightmost button with a tool tip of "Show the Log Navigator", then select the topmost log entry, which should be the most current, this will show the Lopg results in the main editor window.

Hope this helps.

Regards Mark


All times are GMT -4. The time now is 12:34 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.