目录
源码
爱心1
爱心2
C语言动态爱心代码实现过程
这既是对过程的记录笔记,也勉强算是一个教程?
温馨提示:嫌麻烦的小伙伴可以直接用第三个,但是效果不如前两个
先放一下预览图(目前博主能力只能放静态图,但是这些全部是动图!)
爱心1
爱心2
爱心3
下载VisualStudio2022
由于编译器问题,我先跑去下载了一个Visual Studio 2022……
在这里直接粘贴上链接Visual Studio 2022社区版下载
也可以参考 一位博主的博客,我们只需要前半部分(至少我是这样的)
创建项目什么的这里便略去了哈
下载EasyX图形库
前往EasyX官网进行下载
下载程序会检测到你所下载的VS,直接点击安装即可
下载该图形库是为了增加这两个头文件
1 |
这里主要是使用第二个
源码
爱心1
1 |
|
爱心2
1 |
|
爱心3(不需要EasyX图形库)
1 | #include <stdio.h> |