std::cout is "the C++" way to write to the console. If you can't use the
C++ way, there's "the C way", via printf (or fprintf, etc), or the "windows
way", via WriteFile and the Console API functions.
yeah I know these ways thanx, but when I use cout, I get
following warning:
d:\Program Files\Microsoft Visual Studio .NET\Vc7
\include\useoldio.h(29): warning
C4995: '_OLD_IOSTREAMS_ARE_DEPRECATED': name was marked as
#pragma deprecated
so thats why I'm asking that if the compiler recommends
that I do not use cout, then what should I use?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.