SHARE
TWEET

Untitled

a guest May 16th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define _CRT_SECURE_NO_WARNINGS
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. #include "list.h"
  5. #include "functions.h"
  6. #include "tree.h"
  7. #include <locale.h>
  8. #include <string.h>
  9.  
  10. int main()
  11. {
  12.     setlocale(LC_ALL, "rus");
  13.     FILE* input, *output;
  14.     fopen_s(&input, "in.txt", "r");
  15.     fopen_s(&output, "out.txt", "wb");
  16.  
  17.     compress(input, output);
  18.     //puts("file compressed");
  19.  
  20.     fclose(input);
  21.     fclose(output);
  22.  
  23.     system("pause");
  24.     return 0;
  25. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top