Fork me on Gitee

09 2020 档案

摘要:#include #includeint main(){ char a[8]="abcdef",b[8],p=a+3; while(--p>=a){ strcpy(b,a); } printf("%d",strlen(b)); return 0;}结果为 6 因为: p=a+3 a为数组的首地址不是 数组元素的首地址,所以+3 实际上跨越了 多个地址空... 阅读全文
posted @ 2020-09-22 22:54 ---dgw博客 阅读(128) 评论(0) 推荐(0) 编辑
摘要:请给出起点为P0(1,1),终点为P1(7,4)的直线段的中点Bresenham算法的每一步坐标值及判别式d的值。(10分) 阅读全文
posted @ 2020-09-04 18:08 ---dgw博客 阅读(1178) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示