题目:学习putpixel画点。

题目:学习putpixel画点。

There is no nutrition in the blog content. After reading it, you will not only suffer from malnutrition, but also impotence.
The blog content is all parallel goods. Those who are worried about being cheated should leave quickly.


1.程序分析:            
2.程序源代码:
#include "stdio.h"
#include "graphics.h"
main()
{
int i,j,driver=VGA,mode=VGAHI;
initgraph(&driver,&mode,"");
setbkcolor(YELLOW);
for(i=50;i<=230;i+=20)
 for(j=50;j<=230;j++)
 putpixel(i,j,1);
for(j=50;j<=230;j+=20)
 for(i=50;i<=230;i++)
 putpixel(i,j,1);
}

相关推荐

  1. 题目学习putpixel

    2024-04-12 07:58:05       34 阅读
  2. 题目 1761: 学习ASCII码

    2024-04-12 07:58:05       57 阅读
  3. 题目 1761: 学习ASCII码

    2024-04-12 07:58:05       57 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-12 07:58:05       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-12 07:58:05       106 阅读
  3. 在Django里面运行非项目文件

    2024-04-12 07:58:05       87 阅读
  4. Python语言-面向对象

    2024-04-12 07:58:05       96 阅读

热门阅读

  1. vue 中 mixin 的应用场景,原理和合并规则

    2024-04-12 07:58:05       35 阅读
  2. mapper.xml特殊SQL语句汇总(持续更新中)

    2024-04-12 07:58:05       31 阅读
  3. 一条命令把视频和字幕合并成一个文件

    2024-04-12 07:58:05       58 阅读
  4. 设计模式: 结构型之外观模式(11)

    2024-04-12 07:58:05       40 阅读
  5. 计算机网络

    2024-04-12 07:58:05       36 阅读
  6. MCU PAN184 说明书

    2024-04-12 07:58:05       42 阅读
  7. 敏捷开发是什么?敏捷开发的流程有什么?

    2024-04-12 07:58:05       40 阅读
  8. SQL Server数据库常用语句

    2024-04-12 07:58:05       33 阅读
  9. Qt多线程的学习

    2024-04-12 07:58:05       45 阅读
  10. 初识 QT

    初识 QT

    2024-04-12 07:58:05      35 阅读