Thread: Cant use std namespace, help required

  1. #16
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    >> i imagine the cstring functions are in the global namespace for VC++6 though
    Yes. In fact I believe that wouldn't work if you used std::strlen even though it should. Also, I think VC++ 2003 and possibly even 2005 will allow that code.

  2. #17
    Useless Apprentice ryan_germain's Avatar
    Join Date
    Jun 2004
    Posts
    76
    it doesnt. i had tried that. i didnt want to sound too sure since I had been corrected enough times already in this thread! lol!
    There is not the slightest indication that [nuclear energy] will ever be obtainable. It would mean that the atom would have to be shattered at will.

    -Albert Einstein, 1932

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thoughts about using namespace std?
    By dwks in forum C++ Programming
    Replies: 40
    Last Post: 09-25-2008, 05:14 PM
  2. using namespace std;
    By spank in forum C++ Programming
    Replies: 3
    Last Post: 01-20-2006, 06:28 AM
  3. namespace std
    By strobe9 in forum C++ Programming
    Replies: 5
    Last Post: 10-21-2003, 08:09 PM
  4. using namespace std, What does it do?
    By Ben K. in forum C++ Programming
    Replies: 1
    Last Post: 10-14-2001, 10:42 PM
  5. What is "using namespace std; "
    By Engel32 in forum C++ Programming
    Replies: 3
    Last Post: 09-28-2001, 07:23 AM