#include #include #include #include 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; }