0

C++

i cant declare cout wihout usingname space

2nd Dec 2016, 1:19 PM
yared tibebu
yared tibebu - avatar
3 Answers
+ 1
Then use it...
2nd Dec 2016, 1:22 PM
Wen Qin
Wen Qin - avatar
+ 1
It is not clear what you mean, but... You may use cout without "using namespace std". In such case you have to use: std::cout Alternatively you may declare: using std::cout; And later just use cout.
2nd Dec 2016, 3:46 PM
px16
px16 - avatar
0
namespace is standard library of c++ that defines cout operator and many others so must I use it
2nd Dec 2016, 1:36 PM
Bibek Ghimire
Bibek Ghimire - avatar