3 ms·
> So “cin“, “cout” and “cerr” also known as stdin, stdout and stderr are shared. Note that these are different things: std::cin is a std::istream, std::cout an
by saagarjha 8y ago
> So “cin“, “cout” and “cerr” also known as stdin, stdout and stderr are shared.
Note that these are different things: std::cin is a std::istream, std::cout and std::cerr are std::ostreams, and stdin, stdout, and stderr are FILE *s.
- chrisseaton 8y agoThey clearly mean in a practical sense they have the same purpose, not that they’re literally aliases.