c or c++

closed account (ENyU7k9E)
what does this statement means?
std::cout<<std::
something like that.......
is it in c or c++?
It's C++. C has no "cout", that's part of the C++ STL (Standard Template Library).
C has functions like puts(), fputs(), printf(), fprintf(), etc. (which can all be used in C++ as well) for printing stuff.
std::cout is part of iostream, not the STL.
Oh? I thought the entire C++ was part of the STL.
Depends on what you define STL as but the definition is not really very flexible: stl refers to all the template containers - pair, allocator, vector/list/deque, map/set, multimap/multiset, all that good class stuff.
Topic archived. No new replies allowed.