include<stdio.h>#include<string.h>void stmun(char s[]){ char c[4] = {'\0'}; int ch = '\0'; int i, j; i = j = 0; for(i=0; (ch=getchar())&&strcmp(c, "end"); i++) { s[i] = c[i>3 ? 3 : i] = ch; for(j=0; i>2&...
include <stdio.h>int main(){ char str[2049]; gets(str); puts(str); return 0;}
好像有个GETCHAR()函数