Traitement-signal-plantes/C-Script/newFileData.c

17 lines
361 B
C
Raw Normal View History

2022-05-30 18:01:28 +02:00
#include "main.h"
void newFile(){
char buffer[256];
for(int i = 0; i < nRow; i++){
fgets(buffer , sizeof buffer , stdin);
//printf("Line contaigns: %s" , buffer);
2022-05-30 18:01:28 +02:00
}
while(1){
if(!fgets(buffer,sizeof buffer , stdin)) break;
printf("%s",buffer);
2022-05-30 18:01:28 +02:00
}
}
2022-05-30 18:01:28 +02:00
int main(int argc , char** argv){
newFile();
}