using namespace std; // 加上这句;不然你不能使用cin 和cout。。。
不加好像也能用哟
不加好像也能用哟
2011-08-18 11:39
2011-08-18 11:41
2011-08-20 00:26
程序代码:#include "iostream.h"
using namespace std;
void output(char a)
{
cout << a << endl;
}
int main()
{
char temp;
cin>>temp;
output(temp);
return 0;
}
2011-08-22 12:33