当前位置:网站首页>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;
}

边栏推荐
- stream流(Collectors)用法
- Atomic explanation of AQS
- QT writing IOT management platform 37- logic design
- 如何优雅的写 Controller 层代码?
- Essential for efficient work: how can testers improve their communication skills?
- Redis installation and cluster setup under Linux
- USB转RS485串口电路设计「建议收藏」
- 【Rust每周一库】Tokei - 统计代码行数等信息的实用工具
- He was in '98. I can't play with him
- “AI x 科学计算”进行时,华为昇思 MindSpore 赛题火热开启,等你来!
猜你喜欢

Exemples de programmation stm32f1 et stm32cubeide - entraînement du capteur de portée ultrasonique

有了这款工具,自动化识别验证码再也不是问题

Essential for efficient work: how can testers improve their communication skills?

Here comes the tutorial of datawhale recommendation system!

Given the values of two integer variables, the contents of the two values are exchanged (C language)

【C语言进阶】字符串和内存函数(一)

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

Daily question brushing record (VII)

悬赏平台并没有WEB端开发,在原生开发和混合开发中哪种合适?

反CSRF爆破的三种姿势
随机推荐
【C语言进阶】字符串和内存函数(一)
(JS)职责链模式
Buuctf-- happy New Year
Highly paid programmers & interview questions: how to ensure the data consistency between redis cache and database in series 117?
Numeric Keypad
ssh密钥泄露(B模块赛题)——应用服务漏洞扫描与利用
flink sql cdc 并行度 会不会影响顺序呀,是不是数据同步的话一般只能设置1。
Here comes the tutorial of datawhale recommendation system!
(JS)数组去除重复
Xiaomi mobile phone - Unlock BL + open root permission
Ikvm Net project progress
Report card of regional industrial Internet market, the second place of Baidu intelligent yunkaiwu
共2600页!又一份神级的面试手册面世~
SQL Server 数据库的统计查询
在Clion中使用EasyX配置
【C语言进阶】字符串和内存函数(二)
Real test = "half product + Half development"?
(JS)筛选出对象中value大于2的key
(JS)isNaN()方法判断undefined为true的原因
Does your project need automated testing?