0

Why u are using namespace and only iostream instead of iostream.h?

28th Aug 2016, 5:01 PM
Rhytham Natesan
Rhytham Natesan - avatar
2 Respuestas
0
iostream.h would a c version (and does not exist) if you look in the file system the file is iostream without any extension.
11th Sep 2016, 9:45 PM
Tarquin Delphis
Tarquin Delphis - avatar
0
namespace is used to save typing std::cout and std::endl you can leave namespace out if you use std::cout everywhere you normally use cout. there are lots of other functions in std name space that would need std:: in front.
11th Sep 2016, 9:46 PM
Tarquin Delphis
Tarquin Delphis - avatar