Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main() {
- set_path("C:/Users/TwITe/Documents/Visual Studio 2017/Projects/Database/Data_files/");
- const int array_length = 10;
- int arr[array_length];
- for (int i = 0; i < 10; i++) {
- arr[i] = i * 2;
- }
- store(5, arr, 10);
- void* returned_data = load(5);
- for (int i = 0; i < array_length; i++) {
- cout << &returned_data + i;
- }
- }
Add Comment
Please, Sign In to add comment