最近在寫某公司的九二共識專案
但是一直出現compiler error 有人知道哪邊寫錯嗎
==============Code Start=====================
char China[] = "People's Republic Of China";
char KMT[] = "92共識 一中同表";
char General[] = "中華人民共和國國歌";
char NinePointTwo[] = "中國人";
int Taiwan() {
char China[] = "Republic Of China";
char KMT[] = "92共識 一中各表";
char General[] = "要尊嚴 反汙名";
char NinePointTwo[] = "台灣人";
printf("In Taiwan, %s is China", China);
printf("In Taiwan, KMT said %s", KMT);
printf("In Taiwan, General 說 %s", General);
printf("In Taiwan, NinePointTwo 說我是 %s", NinePointTwo);
}
int main(){
Taiwan();
printf("The world see %s is China", China);
printf("The world see KMT said %s", KMT);
printf("The world see General 唱 %s", General);
printf("The world see NinePointTwo 說我是 %s", NinePointTwo);
return 0;
}
==============Code End======================
懷疑local variable是不是寫錯了
有人可以幫我除錯嗎
PS:我是用美國compiler來編譯的 一直過不了