當前位置:首頁 » 編程語言 » 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:55:27 瀏覽:62
安卓的無線網路在哪裡 發布:2024-11-29 09:54:13 瀏覽:652
谷歌瀏覽器打開ftp 發布:2024-11-29 09:46:30 瀏覽:668
熱線女孩ftp 發布:2024-11-29 09:46:29 瀏覽:71
安卓作曲哪個軟體好用 發布:2024-11-29 09:29:30 瀏覽:903
怎麼看撥號伺服器ip 發布:2024-11-29 09:28:17 瀏覽:931
王者配置怎麼樣 發布:2024-11-29 09:22:58 瀏覽:858
級差的演算法 發布:2024-11-29 09:14:20 瀏覽:793
idea每次編譯都會清空 發布:2024-11-29 09:12:50 瀏覽:873
資料庫高級應用 發布:2024-11-29 09:08:38 瀏覽:490