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