0

#Logical

Is somebody knows why we use terminator after using namespace std but why we don't use it after iostream...#New to programming

19th Feb 2017, 11:23 AM
Zeeshan Yaseen
Zeeshan Yaseen - avatar
1 Antwort
0
namespace is an executable statement. hence we need the terminator. it states all cout, cin statements to std::cout, std::cin statements. wheras iostream is the header file included in the program. it contains all the necessary definitions of the functions to be used in the program.
19th Feb 2017, 11:36 AM
Sandip