用c语言编写一个自定义的函数时的基本步骤

日期:2017-09-18 08:49:46 人气:1

用c语言编写一个自定义的函数时的基本步骤

void upd_s2(int i,int j);//函数声明void upd_s2(int i,int j){//定义函数,void-函数类型,upd_s2-函数名,(int i,int j)-形参 set_color(14,0);//函数体 set_cocate(Q2->x,Q2->y);//设置字符显示位置 printf("●"); Q2=add_head(Q2,i,j);/
    A+
热门评论