![]() |
#2
azzbcc2012-11-11 00:31
|
代码如下:
#include<iostream>
#include<conio.h>
using namespace std;
void main()
{
char ch;
while(1)
{
ch=getch();
if(ch!=13)
{
cout<<'*';
}
else
break;
}
cout<<endl;
}
为社么在输入的过程中删除不了输错的字符啊???求各位大神看看,指点下哈!!!!!