• 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: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


  • Subject: Re: (no subject)
  • From: Scott Tooker <email@hidden>
  • Date: Wed, 29 Aug 2001 10:29:56 -0700

The address you want is email@hidden.

I believe that you are running into a bug in the STL libraries on 10.0.x. I believe this should be fixed in the next release, but others on the Project Builder list would know the specifics.

Scott

On Tuesday, August 28, 2001, at 08:04 PM, Tony Cate wrote:

I know this belongs on the project builder list, but I don't happen
to know the address and I need a quick answer.

When trying to run a c++ app with the cin object, using the PB IDE,
output is held up until all the input has occurred. Example:
#include <iostream>

int main (int argc, const char * argv[])
{
float x;
cout << "Hello, World!";
cin >> x;


return 0;
}

The text "Hello World" will only print once I've input 'x'. If I had
6 cin's, I'd have to put then all in before the output would happen.

1 Why?

2 How do I get around it? (I'm in a c++ class and this is the IDE I'm
using - everyone else is on wintel stuff.)

-- -- _______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev

Scott Tooker
QA & Integration - Project Builder
Mac OS X Development Environment


  • Follow-Ups:
    • Re: (no subject)
      • From: Chris Boot <email@hidden>
    • Re: (cout not being flushed properly)
      • From: Doug Landauer <email@hidden>
References: 
 >(no subject) (From: Tony Cate <email@hidden>)

  • Prev by Date: Re: Abstract classes and methods
  • Next by Date: Re: Is K&R Still Relevant?
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: (cout not being flushed properly)
  • Index(es):
    • Date
    • Thread