#12680: 記憶體區段錯誤!


kenny302 (肯尼)


#include<iostream>
#include<cstring>
#include<cstdio>
using namespace std;
int main()
{
string a;
while(~scanf("%s",&a))
{
printf("hello, %s",&a);

}
return 0;
}

 

各位可以幫我看一下哪裡錯嗎?