Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 16th, 2007, 01:47 PM
Registered User
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Standard library and "iostream"

I'm an advanced programmer, reading "Ivor Horton's Beginning Visual C++ 2005" and I didn't understand the concept of the std.

If I understand well: The standard library sits inside the IDE and owns funcs/classes/etc names (like cout) but just "points" to the iostream and other header files?
This means that std exist without declaring iostream, but, for instance cout wont work till declaration?
or the std is an outcome of iostream?

Reply With Quote
  #2 (permalink)  
Old December 21st, 2007, 04:59 PM
Registered User
Join Date: Dec 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Well, there's more to it...the use of 'namespace' gives you the means to set up your own library, or yet, avoids the problem of 'naming convention' conflicts between different pieces of code when including a third-party library or any standardized libraries available (i.e., publicized/standardized reusable code). And it can be inside or outside the IDE of a dedicated host computer, depending on the intent of the application(s) program (e.g., multiple API integration via network with different hosted frameworks).

Just my 2 cents.


Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
about iostream in VS2003 baidu Visual C++ 0 June 7th, 2007 10:13 AM
Download C++ standard ironchef Visual C++ 2005 0 September 15th, 2006 04:51 PM
News:XD++ MFC Library Standard Edition V8.20 is re kellyonlyone Visual C++ 0 June 27th, 2006 11:12 PM
Standard Library Reference resource markcholland BOOK: Professional C++ 0 March 17th, 2006 02:31 PM
Stdio to Iostream josuegomes C++ Programming 1 June 23rd, 2003 07:37 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.