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指导我怎么改 要是太麻烦的话就可以在这里回复了 谢谢大家了啊 |