如何创建一个库? [英] How create a library?

查看:87
本文介绍了如何创建一个库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何制作自己的 GUI 库,例如SFML?

这个问题是为了理解 GUI 库的工作原理,而不是实际制作我自己的库.

This question is for the purpose of understanding how GUI libraries work, not to actually make my own library.

我问我需要做什么.我可以打开我的编辑器并编写一些 C++ 代码,导入一些库,仅此而已.或者更复杂?

I asked what I needed to do so. Can I open my editor and write some C++ code, importing some libraries and that's it. Or it's more complicated?

推荐答案

使用 gnu 编译器 [gcc] 创建共享和静态库:http://www.adp-gmbh.ch/cpp/gcc/create_lib.html

Creating a shared and static library with the gnu compiler [gcc] : http://www.adp-gmbh.ch/cpp/gcc/create_lib.html

这篇关于如何创建一个库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆