ultimatepp/uppdev/Cout/Cout.cpp
cxl 3d64ad3dea uppbox: lpbuild
git-svn-id: svn://ultimatepp.org/upp/trunk@2072 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2010-02-15 10:50:15 +00:00

16 lines
412 B
C++

#include <Core/Core.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
Cout() << ToCharset(CHARSET_CP850, "ěščřžýáíééúů\n", CHARSET_UTF8);
for(int i = 0; i < 10; i++) {
Cout() << "This is just a test of cout!\n";
}
Cout() << "This is just a test of cout!" << EOL;
getchar();
// FileOut out(ConfigFile("test.txt"));
// out << "Hello!" << EOL;
// out << "This ends with LF only!\n";
}