"USING NAMESPACE STD" DOES NOT WORK

I AM USING BORLAND VERSION 5.02 ON A WINDOWS 95 SYSTEM.

WHENEVER I TYPE IN "USING NAMESPACE STD", AN ERROR COMES UP AS AN UNKNOW NAMESPACE NAME.

ANY SUGGESTIONS!!!


REGARDS

SKINSMAD

Comments

  • None of the #include statements should have a .h added, eg :
    #include should be used in place of #include .

    namespace std is defined in most header files containing STL stuff, eg : string, algorithm, vector, iterator, etc.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion