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

边栏推荐
- MySQL查询时如何找出错误格式的手机号
- Binary tree
- 《MongoDB入门教程》第02篇 MongoDB安装
- USB转RS485串口电路设计「建议收藏」
- Free books! The best-selling book "Introduction and practice of OpenCV image processing" has been completed
- Ningde era Kirin battery has greater ambition
- Does anyone encounter this problem when flinkcdc synchronizes MySQL?
- Numeric Keypad
- zabbix监控mysql各项指标
- Getting started with the lvgl Library - Animation
猜你喜欢

Daily question brushing record (VII)

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

“AI x 科学计算”进行时,华为昇思 MindSpore 赛题火热开启,等你来!

BUUCTF RE-easyre

Buuctf-- connotative software

Here comes the tutorial of datawhale recommendation system!

SQL Server 数据库的几种简单查询

Luoqingqi: has high-end household appliances become a red sea? Casati took the lead in breaking the game

Stm32f1 and stm32subeide programming example - ultrasonic distance sensor drive

细粒度识别、分类、检索数据集整理
随机推荐
历史上的今天:马斯克出生;微软推出 Office 365;蔡氏电路的发明者出生
Ningde era Kirin battery has greater ambition
Xiaomi mobile phone - Unlock BL + open root permission
各位大佬 请教下mysqlcdc的数据不支持开窗函数吗 像row_number ,lead这种
深入浅出总结Flink运行时架构
QT writing IOT management platform 37- logic design
5.移植uboot-设置默认环境变量,裁剪,并分区
常见电机分类和驱动原理动画[通俗易懂]
每日刷题记录 (七)
(JS)数组的 pop、push、unshift、shift分别是什么?
Qt编写物联网管理平台37-逻辑设计
认不出原来的模样
2600 pages in total! Another divine interview manual is available~
Highly paid programmers & interview questions: how to ensure the data consistency between redis cache and database in series 117?
Buuctf-- happy New Year
Mongodb tutorial Chapter 02 mongodb installation
活动邀请 | Apache Doris 社区征文&演讲征集活动开始了!
nuc980 已成功启动
Dropout layer
The encryption market has exploded one after another. Can Celsius avoid bankruptcy?