git-svn-id: svn://db.shs.com.ru/pip@522 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
10
main.cpp
10
main.cpp
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user