SHARE
TWEET

Untitled

a guest May 21st, 2019 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "stdafx.h"
  2. #include "stdlib.h"
  3. #include "Data.h"
  4.  
  5. int main()
  6. {
  7.     char FileName[] = "MyFile.bin";
  8.  
  9.     MY_CAR *arr = CreateArray(5);
  10.    
  11.     if (!FillArray(arr))
  12.     {
  13.         //....
  14.     }
  15.    
  16.     PrintArray(arr, "tablica MY_CAR");
  17.     Save(arr, FileName);
  18.     arr = FreeArray(arr);
  19.  
  20.     MY_CAR *brr = Read(NULL, FileName);
  21.     PrintArray(brr, "tablica MY_CAR");
  22.     brr = FreeArray(brr);
  23.  
  24.     system("pause");    
  25.     return 0;
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top