Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. what does this mean?

what does this mean?

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    FlyingDancer
    wrote on last edited by
    #1

    Here is a sentence: using namespace std Could you tell me what is its meaning?

    A 1 Reply Last reply
    0
    • F FlyingDancer

      Here is a sentence: using namespace std Could you tell me what is its meaning?

      A Offline
      A Offline
      Anand Paranjpe
      wrote on last edited by
      #2

      Hi, "using namespace std;" means in ur program u r using namespace called as "std" provided by microsoft. all STL functionality u will get under this namespace. Why we use namespaces? :-) To avoid name collision. Compiler tries to interpret objects or function calls user namespace if specified else searches in global namespace by default. More info is given in MSDN. :) The chosen One :)

      F 1 Reply Last reply
      0
      • A Anand Paranjpe

        Hi, "using namespace std;" means in ur program u r using namespace called as "std" provided by microsoft. all STL functionality u will get under this namespace. Why we use namespaces? :-) To avoid name collision. Compiler tries to interpret objects or function calls user namespace if specified else searches in global namespace by default. More info is given in MSDN. :) The chosen One :)

        F Offline
        F Offline
        FlyingDancer
        wrote on last edited by
        #3

        Oh,I see Thank you In fact, I haven't found the result from MSDN as to using namespace std :) Thank you again

        D 1 Reply Last reply
        0
        • F FlyingDancer

          Oh,I see Thank you In fact, I haven't found the result from MSDN as to using namespace std :) Thank you again

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          shalala wrote: In fact, I haven't found the result from MSDN as to using namespace std Try here: http://msdn.microsoft.com/library/en-us/vclang98/html/\_pluslang\_using\_declaration.asp?frame=true http://msdn.microsoft.com/library/en-us/vclang98/html/\_pluslang\_using\_directive.asp?frame=true


          Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

          F 1 Reply Last reply
          0
          • D David Crow

            shalala wrote: In fact, I haven't found the result from MSDN as to using namespace std Try here: http://msdn.microsoft.com/library/en-us/vclang98/html/\_pluslang\_using\_declaration.asp?frame=true http://msdn.microsoft.com/library/en-us/vclang98/html/\_pluslang\_using\_directive.asp?frame=true


            Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

            F Offline
            F Offline
            FlyingDancer
            wrote on last edited by
            #5

            Thanks you very much! :rose::rose::rose:

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups