18 lines
394 B
C
18 lines
394 B
C
#include "main.h"
|
|
|
|
void newFile(){
|
|
char buffer[256];
|
|
for(int i = 0; i < nRow; i++){
|
|
fgets(buffer , sizeof buffer , stdin);
|
|
}
|
|
while(1){
|
|
if(!fgets(buffer,sizeof buffer , stdin)) break;
|
|
fprintf(stdin,"%s\n",buffer);
|
|
}
|
|
for(int i = 0; i < nRow; i++){
|
|
fprintf(stdin,"\n");
|
|
}
|
|
}
|
|
int main(int argc , char** argv){
|
|
newFile();
|
|
} |