git-svn-id: svn://db.shs.com.ru/pip@522 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-06-22 14:31:43 +00:00
parent 10bbb59ae8
commit d9272f68e4
2 changed files with 13 additions and 6 deletions

View File

@@ -3,17 +3,15 @@
int main(int argc, char *argv[]) {
/*PIVector2D<PIVariant> v(2, 2, PIVector<PIVariant>() << PIVariant(1) << PIVariant(2) << PIVariant(3) << PIVariant(4));
PIVector2D<double> v(2, 2, PIVector<double>() << 1 << 2 << 3 << 4);
piCout << v;
PIByteArray ba;
ba << v;
piCout << ba.size();
PIVector2D<PIVariant> v2;
PIVector2D<double> v2;
ba >> v2;
piCout << v2;*/
double f = 10.0002;
PIString s = PIString::fromNumber(f, 'g', 6);
piCout << s;
piCout << v2;
piCout << v2[0][1];
return 0;
}