Easy Graphics Engine vs2015使用
vs2017: 下载 https://pan.baidu.com/s/1qWxAgeK 里面的 “ege19.01_vs2017 (推荐, 修正win10 1809 上无法正常运行的问题).zip” 按如下操作: (更高版本vs也是同理, 附 网友教程)
- 默认安装的情况下, 把 include目录 里面的东西
复制到 C:\Program Files (x86)\Microsoft Visual Studio\2017\<Community/Profeccsional/Enterprise>\VC\Tools\MSVC\<版本号>\include 目录下 - 默认安装的情况下, 把 lib/vs2017 里面的东西
复制到 C:\Program Files (x86)\Microsoft Visual Studio\2017\<Community/Profeccsional/Enterprise>\VC\Tools\MSVC\<版本号>\lib 目录下 - 如果有修改安装目录, 请依据修改后的目录操作.
vs2015: 下载 https://pan.baidu.com/s/1qWxAgeK 里面的 “ege19.01_all (vc2017,vc2015,devcpp5.11)” 之后按如下操作:
- 默认安装的情况下, 把include目录里的东西复制到 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include 目录下
- 默认安装的情况下, 把lib\vc2015\lib 里面的东西复制到 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib 目录下
- 如果有修改安装目录, 请依据修改后的目录操作.
如果链接失效,可使用:链接: https://pan.baidu.com/s/1IARAi3fSQkZiGJIwXRRc9A 提取码: 2wxu
#include "graphics.h" // 就是需要引用这个图形库
int main()
{
initgraph(, ); // 初始化,显示一个窗口,这里和 TC 略有区别
circle(, , ); // 画圆,圆心(200, 200),半径 100
getch(); // 暂停一下等待用户按键
closegraph(); // 关闭图形界面
return ;
}
效果如图:
参考:
https://xege.org/beginner-lesson-1.html
Easy Graphics Engine vs2015使用的更多相关文章
- 初识ege图形库
简介: EGE (Easy Graphics Engine),是Windows 下的简易绘图库, 是一个类似BGI (graphics.h)的 面向C/C++语言新手的图形库,对新手来说,简单,友好, ...
- C++用EGE简单实现别踩白块游戏
本项目已开源:https://github.com/wmpscc/AvoidBlank 关于EGE 介绍:EGE(Easy Graphics Engine),是windows下的简易绘图库,是一个类似 ...
- C语言实现鼠标绘图
使用C语言+EGE图形库(Easy Graphics Engine).思路是通过不断绘制直线来实现鼠标绘图的功能,前一个时刻鼠标的坐标作为直线的起点,现在时刻的坐标作为终点(严格意义是线段而不是直线) ...
- [ZZ] Understanding 3D rendering step by step with 3DMark11 - BeHardware >> Graphics cards
http://www.behardware.com/art/lire/845/ --> Understanding 3D rendering step by step with 3DMark11 ...
- The Best Open Source Game Engine: In Search Of Perfection
https://www.greatsoftline.com/the-best-open-source-game-engine-in-search-of-perfection/ The game eng ...
- Windows Graphics Programming Win32 GDI and DirectDraw第六章疑问
<Windows Graphics Programming Win32 GDI and DirectDraw>6.1节中有这样的描述: The Windows NT/2000 graphi ...
- Graphics for R
https://cran.r-project.org/web/views/Graphics.html CRAN Task View: Graphic Displays & Dynamic Gr ...
- CG&CAD resource
Computational Geometry The Geometry Center (UIUC) Computational Geometry Pages (UIUC) Geometry in Ac ...
- Awesome C/C++
Awesome C/C++ A curated list of awesome C/C++ frameworks, libraries, resources, and shiny things. In ...
随机推荐
- P2800 又上锁妖塔
P2800 又上锁妖塔 [温馨提示]使用仙术时飞过一层塔不花费时间,若爬过去,该层有多高,就要花费多长时间 我们可以用 f [ i ] 表示到达第 i 层时所用最短时间 到达第 i 层可 ...
- Java 安全套接字编程以及keytool 使用最佳实践
概述 利用 Java 的 JSSE(Java Secure Socket Extension)技术,我们可以方便的编写安全套接字程序,关于 JSSE 的介绍,可以参阅 Oracle 网站提供的 JSS ...
- intelliJ IDEA之使用svn或git管理代码
intelliJ IDEA之使用svn管理代码 1.VCS—>import into Version Control—>Share Project(Subversion) 2.点击+ ...
- kswapd0 进程CPU占用过高
前几天遇到的一个问题,自己本地用VM配置的虚拟机,一般会top查看进程以及CPU占用的一些情况.又一次用laravel 打印对象,里面的内容比较多,浏览器当时就卡了. 然后看进程的情况.我以为会是ng ...
- self asyncio
import asyncio from threading import Thread import time print('main start:',time.time()) async def d ...
- java热加载之springloaded
https://github.com/spring-projects/spring-loaded/wiki
- Python 操作 mysql数据库的一个小小的基础案例,小白新手,以备后用~~
model.py 中的代码 # Create your models here. # 书和作者一对多 class Author(models.Model): name = models.CharFie ...
- python基础--概念性问题
面试其他篇 目录: 头条面试题:https://blog.csdn.net/m0_37947204/article/details/80103151 1.1 python常见基础题 1.遍历文件夹 # ...
- bzoj 3325 密码 - Manacher
题目传送门 需要root权限的传送点 题目大意 已知一个串,以每个字符为中心的最长回文串长,以及每两个字符中间为中心的最长回文串长.求字典序最小的这样一个串.题目保证有解. 考虑Manacher的过程 ...
- Python3 tkinter基础 Listbox height 显示行数的上限
Python : 3.7.0 OS : Ubuntu 18.04.1 LTS IDE : PyCharm 2018.2.4 Conda ...