PITimer important fix! ASCII-art start ...

git-svn-id: svn://db.shs.com.ru/pip@94 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
2015-04-14 14:46:46 +00:00
parent 86f25eddde
commit 2fd1bdfe53
15 changed files with 215 additions and 57 deletions

View File

@@ -224,16 +224,13 @@ inline PICout operator <<(PICout s, const FixedPoint<Precision, Type> & v) {
int main (int argc, char * argv[]) {
//char uc[] = "←↑→↓АБВ";
char uc[] = "←↑→↓АБВ";
char uc[] = "│─┌┐└┘├┤┬┴┼";
PIString us(uc);
PIString us = PIString::fromUTF8(uc);
//piForeachC (PIChar & c, us)
// piCout << PICoutManipulators::Hex << PIByteArray(&c, 4);
piCout << uc;
std::cout << uc << "\n";
printf("%s\n", uc);
//piCout << us.toByteArray() << us.size_s();
piCout << us << us.toByteArray() << us.size_s();
return 0;
/*FixedPoint<16, long long> a, b;