Refactor BinaryTable file handling to use C-style file operations and improve memory management
This commit is contained in:
@@ -15,6 +15,7 @@ int main() {
|
||||
|
||||
std::cout << "1. Storing key1..." << std::endl;
|
||||
table.set<int32_t>("key1", 100);
|
||||
table.debugAddressTable("after key1");
|
||||
|
||||
std::cout << "2. Reading key1..." << std::endl;
|
||||
try {
|
||||
@@ -26,6 +27,7 @@ int main() {
|
||||
|
||||
std::cout << "3. Storing key2..." << std::endl;
|
||||
table.set<int32_t>("key2", 200);
|
||||
table.debugAddressTable("after key2");
|
||||
|
||||
std::cout << "4. Reading key2..." << std::endl;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user