using namespace std?

This is a discussion on using namespace std? within the C++ Programming forums, part of the General Programming Boards category; I am learning c++ and using VC++. I have a lot of programming experience in BASIC, HTML, and ASM. I ...

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    4

    Post using namespace std?

    I am learning c++ and using VC++. I have a lot of programming experience in BASIC, HTML, and ASM. I started programming in the eend of 4th grade, so I have a lot of experience, but I am the type of person that wants to know what every line in thier program works. When I was learning C++, my tutorial told me to put the following line into my code.

    Code:
    using namespace std;
    But what does that do? I understand a lot about memory/bitwise calculations and ect, so odds are I know every term that you will talk about. Thanks everyone!

    PS I bet at least some of you have programmed in BASIC at some time, and this is kinda cool. Its a 100% basic compatable compiler for windows written in C. Although we have some C users, we need more. If you would like tot check it out, look at www.freebasic.com. I am not advertising, its just so cool I thought someone would like to know.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,748
    You probably should just search the Web, but anyway: namespaces.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    4

    Thumbs up

    Thank you very much.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why std:: and not using namespace std?
    By swappo in forum C++ Programming
    Replies: 4
    Last Post: 07-03-2009, 03:10 PM
  2. std:: or namespace std
    By C-+ in forum C++ Programming
    Replies: 16
    Last Post: 12-04-2007, 11:30 AM
  3. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  4. need ; before using namespace std
    By wwfarch in forum C++ Programming
    Replies: 7
    Last Post: 05-11-2004, 10:42 PM
  5. Site tutorials
    By Aalmaron in forum C++ Programming
    Replies: 20
    Last Post: 01-06-2004, 01:38 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21