01.03.2011 - as a initial commit

This commit is contained in:
peri4
2011-03-01 06:07:16 +03:00
parent 3610ea9212
commit b21a0496cd
20 changed files with 1589 additions and 522 deletions

View File

@@ -1,10 +1,26 @@
#include "pip.h"
int main(int argc, char * argv[]) {
PIMathMatrix<3, 2> m0(1., 2., 3.,
4., 5., 6.);
PIMathMatrix<3, 2> m1(1., -2., 3.,
-4., 5., -6.);
m0 += m1;
cout << m0 << endl;
/*PIString s("I love Kusia! <3");
PIByteArray c(s.data(), s.size());
c.compressHuffman();
cout << s << endl << c << endl;
//c.decompressRLE(128);
cout << c << endl;*/
PIBitArray a(0xFFF00Fu);
//cout << a << endl;
a.setBit(31);
cout << a << endl;
a.push_back(true);
cout << a << endl;
a.push_front(true);
cout << a << endl;
a.push_front(false);
cout << a << endl;
a.pop_front();
cout << a << endl;
a.pop_front();
cout << a << endl;
a.pop_front();
cout << a << endl;
};