0

namespace

what is "using namespace std;" what is the purpose of it?

22nd Sep 2016, 1:24 PM
Sindhu H R
4 Antworten
+ 2
it tells the compiler what namespace to use. If you skip the namespace part then you will need to right std::cout, std::cin and std::endl etc.
22nd Sep 2016, 5:29 PM
Mohammed Maaz
Mohammed Maaz - avatar
0
Hello
6th Dec 2020, 9:20 AM
shakh0412
shakh0412 - avatar
0
Hey sir I am new to this
26th Aug 2021, 11:44 PM
George Knight
George Knight - avatar
0
How should i start
26th Aug 2021, 11:45 PM
George Knight
George Knight - avatar