都自便~
for( ; me.alive() ; ) { 淡泊名利,志存高远 } //Forever
[此贴子已经被作者于2006-3-3 0:09:56编辑过]
#include<iostream>
using std::cout;
using std::endl;
using std::cin;
#include<conio.h>
int main()
{
char ch,former[26]={'\r'};
int i=0;
cout<<\"input the string:\";
while((ch=getch())!='\r')
{
former[i]=ch;
cout<<'*';
i++;
}
cout<<\"\n output:\"<<former<<endl;
return 0;
}
[此贴子已经被作者于2006-3-4 21:34:01编辑过]