Results 1 to 9 of 9

Thread: namespace std???

  1. #1

    Thread Starter
    Addicted Member NewGen's Avatar
    Join Date
    Nov 2002
    Location
    olathe, ks
    Posts
    152

    namespace std???

    What is Namespace std?
    I suck with graphics. Can you help me out? If you are good with graphics there are rewards . . . email me, [email protected] . . .

    [img src="www.cel-eration.com/anim1.gif"][/img]

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Have you got my PM?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Addicted Member NewGen's Avatar
    Join Date
    Nov 2002
    Location
    olathe, ks
    Posts
    152

    Yup

    I got it, you said to post if i didn't know
    I suck with graphics. Can you help me out? If you are good with graphics there are rewards . . . email me, [email protected] . . .

    [img src="www.cel-eration.com/anim1.gif"][/img]

  4. #4
    Member
    Join Date
    Dec 2002
    Location
    Delaware
    Posts
    34
    I am not exactly sure what a namespace std is either. I just add the lines "using namespace std;" after the includes without thinking. Could you PM me too? Thanx.
    Tolkien is the greatest writer ever.

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    No, I said you should do a search.
    You won't get an answer from me here.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  7. #7
    Addicted Member HairyDave's Avatar
    Join Date
    Aug 2002
    Location
    Er...I can't remember.
    Posts
    196
    I can't believe you cracked so quickly

    HD

  8. #8
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I can't either. But I was terribly tired and my resistance against ignorance is low...
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  9. #9
    Hyperactive Member made_of_asp's Avatar
    Join Date
    Jul 2001
    Location
    123 Fake Street
    Posts
    394
    using namespace std causes your compiler to use objects in the "std" namespace without std:: in front of them.

    e.g.

    Code:
    #include <iostream>
    using namespace std;
    
    cout << "AAA";
    instead of

    Code:
    #include <iostream>
    
    std::cout << "AAA";
    VS.NET 2003

    Need to email me?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width