C with classes

This commit is contained in:
e2hang
2025-12-31 00:39:23 +08:00
commit a047893756
198 changed files with 11173 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#include <iostream>
#include "page.h"
using std::cin;
using std::cout;
using std::endl;
int main() {
Paginate pager(13);
for (int i = 1;i <= 13;i++)
{
//i<><69>ǰҳ<C7B0><D2B3>13<31><33>ҳ<EFBFBD><D2B3>
pager.setPage(i).show();
}
cout << "START MOVING...." << endl;
pager.setPage(5).show();
pager.next().show();
pager.prev().show();
//ֱ<>ӷ<EFBFBD>
pager.nextN().show();
pager.next().show();
pager.prevN().show();
return 0;
}