Blame view

orchestre/test.c 327 Bytes
346cc2f5   aarnaude   ajout code vivian
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
   
  #include <string.h>
  #include <stdio.h>
  #include <stdbool.h>
  #include <stdlib.h>
  
  
  void recup_num(){
          FILE* fd;
          int num_port;
          fd=fopen("num_count.txt","r");
          fscanf(fd, "%d", &num_port);
          printf("num = %d \n", num_port);
          fclose(fd);
  
  }
  
  
  
  int main()
  {
  	recup_num();	
  	return 0;
  
  }