当前位置:网站首页>Using EasyX configuration in clion
Using EasyX configuration in clion
2022-06-29 10:57:00 【Shine. Zhang】
See a small program , A ball in series C The grammatical knowledge of language , I haven't written for many years C Code. , Take it out and Practice , But I met in Clion Use in EasyX Configuration issues , It's been a long time , Remember .
Download address :https://easyx.cn/easyx
Select the following download channel :
Reference resources :https://blog.csdn.net/youjohLee/article/details/124642649
EasyX The default installation only supports vc++ and visual studio, If you want to use it in Clion etc. IDE Use in , Need adaptation MinGW;
Download and unzip the above file easyx4mingw_20220610:
Save the folder ( Here I rename to EasyX) Copy into Clion In the new project , stay CMakeLists.txt Add :
include_directories(./EasyX/include)
link_directories(./EasyX/lib64)
link_libraries(libeasyx.a)
Put in add_executable Before .

The new version of the Clion Has been bundled and installed mingw, By default ;
Run the following example program :
#include <graphics.h> // Reference graphics library header file
#include <conio.h>
int main()
{
initgraph(640, 480); // Create a drawing window , The size is 640x480 Pixels
circle(200, 200, 100); // A circle , center of a circle (200, 200), radius 100
_getch(); // Press any key to continue
closegraph(); // Close the drawing window
return 0;
}

边栏推荐
- BUUCTF--reverse2
- 《MongoDB入门教程》第02篇 MongoDB安装
- Ningde era Kirin battery has greater ambition
- Reprint: five methods to determine whether an object has attributes
- C#MDI打开子窗体去掉自动生成的菜单栏
- Print leap years between 1000 and 2000 (C language)
- 学习通否认 QQ 号被盗与其有关:已报案;iPhone 14 量产工作就绪:四款齐发;简洁优雅的软件早已是明日黄花|极客头条...
- Print prime numbers between 100 and 200 (C language)
- [200 opencv routines] 214 Detailed explanation of drawing ellipse parameters
- 如何优雅的写 Controller 层代码?
猜你喜欢

世界上第一个“半机械人”去世,改造自己只为“逆天改命”

Buuctf-- happy New Year

认不出原来的模样

任职 22 年,PowerShell 之父将从微软离职:曾因开发 PowerShell 被微软降级过

SQL Server 数据库的统计查询

Fully understand the MESI cache consistency protocol

CS231n-2022 Module1: 神经网络要点概述(2)

高效工作必备:测试人如何提高沟通技能?

励志!专科“逆袭”读浙大硕士,3篇SCI,最终成清华博士!

“AI x 科学计算”进行时,华为昇思 MindSpore 赛题火热开启,等你来!
随机推荐
Getting started with the lvgl Library - Animation
任职 22 年,PowerShell 之父将从微软离职:曾因开发 PowerShell 被微软降级过
(JS)状态模式
悬赏平台并没有WEB端开发,在原生开发和混合开发中哪种合适?
【C语言进阶】通讯录实现
With this tool, automatic identification and verification code is no longer a problem
高效工作必备:测试人如何提高沟通技能?
嵌入式驱动开发之uboot---uboot 中的常见命令参数参数
Exemples de programmation stm32f1 et stm32cubeide - entraînement du capteur de portée ultrasonique
请问,flink sql 批任务,两表或多表join(inner join 或 outer join
Pytorch learning notes (6) -- source code analysis of dataloader
内存分配——静态存储区 栈 堆 与static变量
由ASP.NET Core根据路径下载文件异常引发的探究
【C语言进阶】文件操作(一)
UserWarning: Usage of dash-separated ‘script-dir‘ will not be supported in future versions. 笔记
【C语言进阶】字符串和内存函数(一)
(JS)迭代器模式
Offensive and defensive world re insfsay
flink sql cdc 并行度 会不会影响顺序呀,是不是数据同步的话一般只能设置1。
工具箱之 IKVM.NET 项目新进展