Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include "stdlib.h"
- #include "Data.h"
- int main()
- {
- char FileName[] = "MyFile.bin";
- MY_CAR *arr = CreateArray(5);
- if (!FillArray(arr))
- {
- //....
- }
- PrintArray(arr, "tablica MY_CAR");
- Save(arr, FileName);
- arr = FreeArray(arr);
- MY_CAR *brr = Read(NULL, FileName);
- PrintArray(brr, "tablica MY_CAR");
- brr = FreeArray(brr);
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement