Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.41 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4. #include  <time.h>
  5. #include <stdbool.h>
  6. #include <math.h>
  7.  
  8. int main(int argc, char** args) {
  9.     FILE *fin, *fout;
  10.  
  11.     fin = fopen("/home/cmc/Desktop/input.txt", "r");
  12.     fout = fopen("/home/cmc/Desktop/output.txt", "w");
  13.     fprintf(fout, "This is testing...\n");
  14.  
  15.  
  16.  
  17.     fclose(fin);
  18.     fclose(fout);
  19.     printf("\n");
  20.     return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement