0

Why we write #using namespace std# when we code in code blocks but not in Turbo C++

24th Mar 2017, 12:38 AM
Serjeel Ranjan
Serjeel Ranjan - avatar
4 Answers
+ 8
How about turbo function in c++? Did you write std::cout instead of cout?
24th Mar 2017, 12:40 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 8
@hdo good!
24th Mar 2017, 2:55 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 2
turbo c++ is an old/outdated compiler. namespace std is new feature of c++ standard (from c++98 if I remember correctly). You should use current IDEs with modern compilers implementing recent C++ standards. Some are visual c++ or code::blocks.
24th Mar 2017, 2:49 AM
hdo
hdo - avatar
0
no just cout
24th Mar 2017, 1:32 AM
Serjeel Ranjan
Serjeel Ranjan - avatar