Thread: what is namespace std

  1. #1
    Deleted Account
    Join Date
    Oct 2013
    Posts
    39

    what is namespace std

    i know using namespace std; is important to wite as it contain cout,cin,etc........but is that namespace std is contained inside iostream header file OR iostream header file is contained inside namespace std .......i am totally confused...help

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    There's an FAQ entry here on C++ namespaces.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. using namespace ....
    By Lesshardtofind in forum C# Programming
    Replies: 3
    Last Post: 11-17-2012, 08:53 PM
  2. Friend of namespace or of namespace function?
    By Programmer_P in forum C++ Programming
    Replies: 18
    Last Post: 03-13-2011, 06:46 PM
  3. using namespace std?
    By Nathan1993 in forum C++ Programming
    Replies: 2
    Last Post: 08-22-2005, 09:33 AM
  4. Namespace
    By Hypercase in forum C++ Programming
    Replies: 2
    Last Post: 08-15-2005, 05:46 AM
  5. namespace std
    By blankstare77 in forum C++ Programming
    Replies: 27
    Last Post: 07-24-2005, 12:33 PM