Re: c question
Re: c question
- Subject: Re: c question
- From: "Justin C. Walker" <email@hidden>
- Date: Wed, 29 Mar 2006 17:07:44 -0800
On Mar 29, 2006, at 16:34 , Michael wrote:
On Mar 29, 2006, at 4:21 PM, Justin C. Walker wrote:
On Mar 29, 2006, at 16:05 , Michael wrote:
double i;
for ( i=0; getchar() != EOF; ++i);
I really lost now...the example is straight out of K&R.....is this
not something unique to Xcode?
Well, it took me a minute to realize I was thinking of a language
that isn't C :-}
Your example code is correct, and, at least for me, works as expected
(when run from a Terminal window).
This is probably (as suggested earlier in the thread) an issue with
the way Xcode handles psuedo-ttys used during run/debug operations.
Sorry for the mis-direction.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
When LuteFisk is outlawed,
Only outlaws will have LuteFisk
--------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden