extreme newbie question..where's my output ?

Discussion in 'Mac Programming' started by TheSoftMachine, Mar 29, 2008.

  1. macrumors newbie

    Joined:
    Mar 29, 2008
    Location:
    Northern CA
    #1
    Hi

    I just got the Kochan book and I'm starting at the beginning (I've dabbled with C in the past).

    I'm trying to run the first example using Xcode 3.0, but I don't see any output. Basically, it's a hello world program that prints "Programming is fun". When I "build and run", I don't get any output (I believe a window should open that displays the text "Programming is fun").

    Kochan uses Project Builder in the book, but he mentions that Xcode is very similar. He says that if you don't get an output, then you need to select "Show Run Log from the Debug menu", but I can't find anything like this in the Xcode menu's.

    I know this is a dumb question, but any help would be nice
    Thanks

    p.s. I can get the program to run correctly in a terminal. I entered it using vi in a completely separate directory from the above
     
  2. macrumors 6502a

    Joined:
    Jul 2, 2006
    Location:
    Scotland
    #2
    Things moved around a bit since the book was written. In fact I think it pre-dates X-Code.

    Select Run->Console and the errr.. console window will pop up. Any output from your command line apps will appear there.
     
  3. macrumors regular

    Joined:
    Dec 15, 2007
    #3
    Try Console in the Run menu.
     
  4. thread starter macrumors newbie

    Joined:
    Mar 29, 2008
    Location:
    Northern CA
    #4
    got it...

    Duh !!!
    Thanks !
     

Share This Page