* ComicCaper:
Hi all,
Ok, my class book doesn't cover this yet I see it being used with very
basic statements such as cout. It is also covered in other C++ books in
the first program (I was skimming at Borders) so what does it actually
do? And you can imagine the results I get when putting std into google.
"std::whatever" refers to a name "whatever" from the standard library.
Technically it states which namespace (namely, "std") the name is
defined in, or at least is available in.
That helps to avoid name collisions: you can have the same name, with
different meanings, in different namespaces.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?