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);
|
2022-05-31 11:33:26 +02:00
|
|
|
//printf("Line contaigns: %s" , buffer);
|
2022-05-30 18:01:28 +02:00
|
|
|
}
|
|
|
|
while(1){
|
|
|
|
if(!fgets(buffer,sizeof buffer , stdin)) break;
|
2022-05-31 11:33:26 +02:00
|
|
|
printf("%s",buffer);
|
2022-05-30 18:01:28 +02:00
|
|
|
}
|
|
|
|
}
|
2022-05-31 11:33:26 +02:00
|
|
|
|
2022-05-30 18:01:28 +02:00
|
|
|
int main(int argc , char** argv){
|
|
|
|
newFile();
|
|
|
|
}
|