• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Standard Input in Project Builder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Standard Input in Project Builder?


  • Subject: Re: Standard Input in Project Builder?
  • From: Matthew Formica <email@hidden>
  • Date: Mon, 30 Apr 2001 15:44:13 -0700

As a matter of fact, Apple also hosts a very active projectbuilder-users
email list where this question would be best directed. You can sign up to
be on it from the same page where you signed up for cocoa-dev.

Matthew Formica
Apple DTS Engineer - Dev Tools and Cocoa
email@hidden

on 4/30/01 3:38 PM, Matt Ridley at email@hidden remarked:

> Hi all,
>
> This isn't strictly a Cocoa question, but it relates to Project
> Builder. Apologies if this question is inappropriate here.
>
> I haven't programmed in C for a few years, and have been
> re-acquainting myself with it in preparation for getting into
> Cocoa. For simplicity's sake, I've been using the exercises in
> K&R (2nd edition). These are just plain C programs, #including
> stdio.h.
>
> Currently, I'm writing the C programs in Project Builder (based
> on the Standard Tool template), then going to the shell to cc
> them and run them via ./a.out. That all works quite well.
>
> I notice that, if I instead compile and run within Project
> Builder itself, the "Run" pane at the top-right of the project
> window serves as the Standard Output. My question is: can it
> also serve as the Standard Input, thus saving me having to use
> Terminal? I can't seem to get it to accept input there (which
> I'm reading with basic functions like getchar()).
>
> Any thoughts would be much appreciated. Again, sorry if this
> isn't the right forum for this.
>
>
> Best,
> -Matt
>
> --
> Matt Ridley
> <http://www.mattridley.com/>
> _______________________________________________
> cocoa-dev mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Standard Input in Project Builder? (From: Matt Ridley <email@hidden>)

  • Prev by Date: Standard Input in Project Builder?
  • Next by Date: loading executable code, NSBundle
  • Previous by thread: Standard Input in Project Builder?
  • Next by thread: loading executable code, NSBundle
  • Index(es):
    • Date
    • Thread