- #include <stdio.h>
- #include <stdlib.h>
- #include <time.h>
- void read(FILE* input, int *n, float *atlseb){
- fscanf(input, "%d", *n);
- }
- int main(){
- FILE* input = fopen("input.txt", "r");
- FILE* output = fopen("output.txt", "w");
- if(input == NULL){
- fprintf(output, "Hibas Input!\n");
- }
- int *n /*= (int*)malloc(sizeof(int)) ??*/;
- float *atlseb;
- read(input, *n, *atlseb);
- fprintf(output, "%d", &n);
- return 0;
- }