Advertisement

include files

Started by February 20, 2001 01:52 PM
0 comments, last by TriWolf 23 years, 11 months ago
#include using namespace std; or #include What is the difference between the two commands and which should I use? Timothy "TriWolf" Russell
Timothy "TriWolf" Russell
quote:

#include &ltiostream>


does the same thing as
quote:

#include &ltiostream.h>



quote:

using namespace std;


brings the namespace std into the current scope (all the STL containers are in the std namespace)


Magmai Kai Holmlor
- The disgruntled & disillusioned


Edited by - Magmai Kai Holmlor on February 20, 2001 7:09:06 PM

Edited by - Magmai Kai Holmlor on February 20, 2001 7:09:49 PM
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

This topic is closed to new replies.

Advertisement