mirror of
https://github.com/RTimothyEdwards/netgen.git
synced 2026-08-22 14:07:07 +02:00
Initial commit at Mon May 18 09:27:46 EDT 2015 by tim on stravinsky
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#include <stdio.h>
|
||||
|
||||
char buffer[100];
|
||||
int i;
|
||||
|
||||
main()
|
||||
{
|
||||
while (fgets(buffer,100,stdin) != NULL) {
|
||||
for (i=0; i < strlen(buffer); i++) {
|
||||
if (buffer[i] == ' ') {
|
||||
putchar('\t');
|
||||
while (buffer[i] == ' ') i++;
|
||||
}
|
||||
putchar(buffer[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user