void show_time()
{DS1302_GetTime();
TimeToStr();
DateToStr();
temp_value=ReadTemp();
temp_to_str();
gotoxy(12,1);
Show_Char(TempBuffer);
gotoxy(0,1);
Show_Char(TimeString);
gotoxy(0,0);
Show_Char(DateString);
gotoxy(15,0);
Show_Char(week_value);
gotoxy(11,0);
Show_Char("Week");
delay1ms();
}
上面這段代碼 每當執行到gotoxy時 總會出現SHUZIZHONG.C(473): error C267: 'gotoxy': requires ANSI-style prototype這個錯誤 我也試著定義過 但是沒有任何變化 我現在實在是想不出辦法了 希望大家能夠幫助我這個菜鳥 我的qq號是664602605 如果大家不介意的話 可以加我q指導我怎么改 要是太麻煩的話就可以在這里回復了 謝謝大家了啊 |