TwITe

Untitled

Oct 2nd, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. int main() {
  2.     set_path("C:/Users/TwITe/Documents/Visual Studio 2017/Projects/Database/Data_files/");
  3.     const int array_length = 10;
  4.     int arr[array_length];
  5.     for (int i = 0; i < 10; i++) {
  6.         arr[i] = i * 2;
  7.     }
  8.     store(5, arr, 10);
  9.     void* returned_data = load(5);
  10.     for (int i = 0; i < array_length; i++) {
  11.         cout << &returned_data + i;
  12.     }
  13. }
Add Comment
Please, Sign In to add comment