首页上一页 1 下一页尾页 1 条记录 1/1页
指出《C语言程序开发范例宝典》20章俄罗斯方块游戏源程序中不关痛痒的几处手误
发表在C语言图书答疑
2016-04-22
是否精华
是
否
版块置顶:
是
否
int nbx=0,nbs=0; /* 当前寺块的形壮和方向*/ /* 此行中应该写为:当前方块,手误 ① */
{1,1,0,0,1,1,0,0,0,0,0,0.0,0,0,0},
{1,1,0,0,1,1,0,0,0,0,0,0.0,0,0,0}, /* 此处诸多0.0的写法应该是个手误 共有五处错误② */
{1,1,0,0,1,1,0,0,0,0,0,0.0,0,0,0},
{1,1,0,0,1,1,0,0,0,0,0,0.0,0,0,0}},
{
{0,0,0,0,1,1,1,0,0,1,0,0,0,0,0,0},
{1,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0},
{0,1,0,0,1,1,1,0,0,0,0,0.0,0,0,0},
{0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0}}
texts(423,53,"worng key!",1,4); /* warning, please,any,手误③ */
texts(428,80,"Plese Enter Anly Key AG!",1,4);
int nextnbx=0,nextnbs=0,maxcol=22;/*下一个方块的形壮和方向*/ /* maxcol没有用到 ④*/
{1,1,0,0,1,1,0,0,0,0,0,0.0,0,0,0},
{1,1,0,0,1,1,0,0,0,0,0,0.0,0,0,0}, /* 此处诸多0.0的写法应该是个手误 共有五处错误② */
{1,1,0,0,1,1,0,0,0,0,0,0.0,0,0,0},
{1,1,0,0,1,1,0,0,0,0,0,0.0,0,0,0}},
{
{0,0,0,0,1,1,1,0,0,1,0,0,0,0,0,0},
{1,0,0,0,1,1,0,0,1,0,0,0,0,0,0,0},
{0,1,0,0,1,1,1,0,0,0,0,0.0,0,0,0},
{0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,0}}
texts(423,53,"worng key!",1,4); /* warning, please,any,手误③ */
texts(428,80,"Plese Enter Anly Key AG!",1,4);
int nextnbx=0,nextnbs=0,maxcol=22;/*下一个方块的形壮和方向*/ /* maxcol没有用到 ④*/