just out of curiosity (Björn)

Wolfgang Landauer w.landauer at gmx.de
Thu Aug 12 01:53:19 PDT 2004

michael killed the keyboard with:

> why would you prefer to pepper your code 
> with all those std:: when you can start off with " using namespace std;"
> ?

this can prevent you from getting into nameing conflicts when you have
things which have the same name.

you also don't have to use the whole namespace:

using std::cout;
using std::cin;

   .-.   This is Linux Country.
   /v\   On a quiet night, you
 /(   )\ can hear Windows reboot.
  ^^ ^^  LFS-No.: 120

More information about the lfs-chat mailing list