当前位置:首页 » 编程语言 » c语言开源库

c语言开源库

发布时间: 2024-02-25 16:34:13

c语言有哪些开源图形库

最着名的就是GTK了。。。和QT对着干的那个。。GNOME就是它开发的

还有比如用于游戏的SDL、或者使用脚本的TCL/TK的库,用于嵌入式的minigui的

最有名的就是GTK了。。。模拟OO封装,就是学习难度太大了,不亚于winapi。。。

Ⅱ c语言本身是开源的吗,c语言是用什么写的谢谢大家了

C语言是一个由ISO组织中的ANSI制定的标准,任何个人或者组织都可以根据这个标准将其实现。现今,世界上有许多不同的C语言实现,比较着名的有:GCC、Watcom、MS C等,其中前两者是开源的,后者是闭源的。下面粘贴几个老外的回答(原回答链接)。

The C language is not a piece of software but a defined standard, so one wouldn't say that it's open-source, but rather that it's an open standard.

There are a gazillion different compilers for C however, and many of those are indeed open-source. The most notable example is GCC's C compiler, which is all under the GNU General Public License (GPL), an open-source license.

There are more options. Watcom is open-source, for instance. There is no shortage of open-source C compilers, but without a doubt the most widespread one, at least in the non-Windows world, is GCC.

For Windows, your best bet is probably Watcom or GCC by using Cygwin or MinGW.

C is a standard which specifies how C compilers should generate programs.

C itself doesn't have any source code, just like a musical note doesn't have any plastic.

Some C compilers, such as GCC, are open source.

C is just a language, and a standardised one at that, too. It pretty much is the compiler that "does all the work". Different compilers did have different dialects; before the the C99 ANSI standard, you had things like Borland C and other competing compilers, that implemented the C language in their own fantastic ways.

stdlib is just an agreed-upon collection of standard libraries that are required to be present in any ANSI C implementation.

关于C++开源与否:

与C语言类似,C++也是由ISO/ANSI制定的一个标准,所谓的“官方”并未给出确切的实现,任何组织与个人都可以根据标准自己开发一个C++编译器出来。出名的C++编译器有:GCC/G++、libc/libc++、clang(++)、 Visual studio和MS´ runtime等。也把老外的几个回答贴出来(原回答链接)。

C++ itself is only a description what the language should be,

without a definite implementation.

Anyone can make his own implementations (compiler etc, runtime library, ...)

and call it C++ if it fits to the description.

http://www.open-std.org/jtc1/sc22/wg21/

And if a implementation is open source depends on the creator.

Examples of implementation (parts):

GCC/G++, libc/libc++, clang (++ too), Visual studio and MS´ runtime...

C++ is developed by an ISO standard committee. There's also a C++ foundation that runs a web site you might want to read.

C++ itself is a language, not a specific implementation, so there's no source code available for the standard/language itself.

Some C++ implementations are open source (e.g., Gnu and Clang).

1. C++ is a code standard defined by the International Organization of Standardization (ISO). There are many different implementations of the language, but they all tend to conform to C++11. Unlike Linux or Qt, C++ is just a standard, and to use any code written in the language you'll need a compiler. The major compilers (list from Wikipedia) are LLVM Clang, GCC, Microsoft Visual C++, and the Intel C++ Compiler.

2. C++ revisions are dealt with by ISO, and are influenced primarily by the maintainers of the above four implementations.

3. Clang and GCC are both open-source, I'm sure if you poke around you can find other conforming compilers but those are the two most used.

总之,跟Java、Python和PHP这样所谓的开源语言不同,C语言与C++没有官方提供的各自确切的实现代码(库),ISO/ANSI仅仅提供了C和C++的标准。

这些都是我从自个儿博客摘抄来的,也不见得有人看得到。

Ⅲ c语言入门必收藏,可以参考的学习网站

c语言入门,可以参考的学习网站?

1、cplusplus:一个优秀的C++学习网站,除了提供相应的教程之外,还有一个很棒的论坛。和其它网站相比,它的价值更多体现在参考上,因为里面解释了许多编程概念。

2、C++ Source Codes:345个比较全面的关干C++的源代码清单。

3、C++ FAQ:C++常见问题,项目工程中遇到的很多问题都有,涉及C++高效编程。

4、LearnCpp:免费学习c++编程。

5、TutorialsPoint:一个很好的网站!想学的技术(包括升模C++),它几乎都提供了详细的教程。保存好就对了,超级有用。漏笑档

6、The C++ Standard Library:这是一个收集了数C/C++网站链接列表的网页。

7、Free C/C++ Libraries:免费C++开源库和其它有用的工具。

8、C and C++ Users Group:C和C++的用户团体提供了免费的涵盖各种编程领域 C++ 项目返乱的源代码,包括 AI、动画、编译器、数据库、调试、加密、游戏、图形、GUI、语言工具、系统编程等。

热点内容
安卓作曲哪个软件好用 发布:2024-11-29 09:29:30 浏览:902
怎么看拨号服务器ip 发布:2024-11-29 09:28:17 浏览:930
王者配置怎么样 发布:2024-11-29 09:22:58 浏览:857
级差的算法 发布:2024-11-29 09:14:20 浏览:792
idea每次编译都会清空 发布:2024-11-29 09:12:50 浏览:872
数据库高级应用 发布:2024-11-29 09:08:38 浏览:489
问道脚本哪个好用 发布:2024-11-29 08:58:11 浏览:817
mac适合编程 发布:2024-11-29 08:56:53 浏览:482
安卓手机如何打开xp文件 发布:2024-11-29 08:27:46 浏览:949
战歌脚本第二集 发布:2024-11-29 08:22:42 浏览:890