实现效果如图: 首先创建一个项目,后将要加载的图片放在项目文件下,通过一下代码打开。 #include <graphics.h>//图形库 #include <conio.h>//_getch() int main() {