|
本帖最后由 4399APPLE 于 2013-12-9 10:15 编辑
啊哈C没有的
显示密码用- <blockquot#include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int t;
- char a[5];
- for(t=0;t<5;t++)
- {
- a[t]=getch();
- printf("*");
- }
- printf("\n");
- for(t=0;t<5;t++)
- {
- printf("%c",a[t]);
- }
- printf("\n");
- system("pause");
- return 0;
- }#include <stdio.h>
复制代码 |
|