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

This commit is contained in:
2017-03-15 08:45:29 +00:00
parent 286b63e93d
commit a1d77eff32
5 changed files with 103 additions and 36 deletions

View File

@@ -63,9 +63,23 @@ int main(int argc, char *argv[]) {
c.start();
piMSleep(3000);*/
PISystemTime st = PISystemTime::current();
piCout << PIDateTime::current();
piCout << PIDateTime::fromSystemTime(st);
/*PIScreen s;
s.enableExitCapture(PIKbdListener::F10);
s.start();
TileList * list = new TileList();
for (int i = 0; i < 100; ++i)
list->content << TileList::Row(i, PIScreenTypes::CellFormat());
s.rootTile()->addTile(list);
s.waitForFinish();*/
PIDeque<int> d;
d.resize(atoi(argv[1]));
while (1) {
d.push_back(1);
d.pop_front();
piCout << d.size() << d.capacity() << d._start();
}
return 0;
}