• 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: cout undeclared in 10.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cout undeclared in 10.2


  • Subject: Re: cout undeclared in 10.2
  • From: Andrew Pinski <email@hidden>
  • Date: Mon, 26 Aug 2002 13:33:08 -0400

try using `using namespace std;' at the top of the file after the includes.
This will bring your code being standard c++89 code.


Thanks,
Andrew Pinski


On Monday, August 26, 2002, at 01:08 , John Nairn wrote:

I just upgraded to 10.2. When I rebuilt a C++ Tool that worked fine before, it now quickly fails to compile and says 'cout', 'cerr', and 'endl'. As of the previous version of ProjectBuilder, this code had all the needed includes and linked to all needed libraries. Now it no longer works?

----------------
John Nairn (1-801-581-3413, FAX: 1-801-581-4816)
Web page: http://www.mse.utah.edu/~nairn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >cout undeclared in 10.2 (From: John Nairn <email@hidden>)

  • Prev by Date: cout undeclared in 10.2
  • Next by Date: Reordering rows in NSTableView
  • Previous by thread: cout undeclared in 10.2
  • Next by thread: Re: cout undeclared in 10.2
  • Index(es):
    • Date
    • Thread