turbolist/main.cpp

24 lines
320 B
C++
Raw Normal View History

2024-08-27 09:32:53 +02:00
// g++ main.cpp -o main
#include<cstdio>
#include<cstdint>
2024-08-27 10:17:43 +02:00
#include"TurboList.hpp"
2024-08-27 09:32:53 +02:00
#define PRINT_DBG 1
2024-08-27 09:32:53 +02:00
int main() {
TurboList list(4);
for(int i = 0; i < 65535; ++i) {
list.insert(i);
}
#ifdef PRINT_DBG
2024-08-27 10:32:17 +02:00
for(int i = 0; i < list.size(); ++i) {
printf("%d\n", list[i]);
}
#endif /* PRINT_DBG */
2024-08-27 09:32:53 +02:00
return 0;
}