Can this be removed? (C++ with Xcode)

Discussion in 'Mac Programming' started by Manifest72, Jan 5, 2012.

  1. Manifest72, Jan 5, 2012
    Last edited: Jan 5, 2012

    macrumors newbie

    Jan 5, 2012

    I'm new to MacRumors and I've recently been learning how to code C++ with Xcode.

    Every time I execute my programs, the directory of the program and date and time of execution, keeps on displaying.

    Is there some way to stop the Terminal from displaying these things every time I execute a program?

    A little background about my interface: I'm using Xcode 3.2.6 on Snow Leopard OSX.

  2. macrumors 68040

    Feb 2, 2008
    Are you referring to the built in console in Xcode? If so you can change the output in the upper left corner drop down menu from, "All output" to "Target Output" (Xcode 4).
  3. thread starter macrumors newbie

    Jan 5, 2012
    I can't seem to find "Target output" in my version of Xcode (3.2.6). I've only just started programming C++ with Xcode, so I'm pretty new to Xcode and programming.

    Here's an example of what is displayed for me on Terminal when I've executed a basic arithmetic program:

    To be clear, I'm trying to find a way to remove the bolded text from my programs.
    I like to keep my executions clean. I'd rather prefer my directory to be hidden than displayed.
  4. macrumors 68040

    Feb 2, 2008
    I understood what you where trying to achieve. My suggestion does just that, however then you edited your post to add the fact that you use version 3.

    I don't have v3 installed anymore, but I suggest you look around in preferences or search in the help menu in Xcode as this is a setting (if it's possible).
  5. macrumors Pentium


    Jan 28, 2009
    Quebec, Canada
    The bolded text is not in your program. It's simply the system launching the shell to execute your program.
  6. thread starter macrumors newbie

    Jan 5, 2012
    Yes, so far, I haven't found any "All Output" or "Target Output" in the 3.2.6 version.
    Also, sorry for editing like that. I should've made the editing part clearer.

    I'll keep looking, but in the end, I guess I'll have to get used to it.

    Understood. However, as stated before, I'm searching for a way to NOT include the info of the launch while I execute my program.
  7. macrumors 6502a

    Jun 7, 2011
    It has to be displayed, because that's how the program gets launched.
  8. macrumors 68030

    Oct 19, 2011
    open a Terminal, compile and execute the code there.
  9. macrumors 603


    Aug 19, 2008
    The Anthropocene
    No offense, but I'm trying to understand why this is such a big deal.

  10. macrumors 6502a

    Jun 7, 2011
    I think he's concerned that all the people who buy his "enter two numbers and we will add them for you" program may not like to see the extra text.


Share This Page