FreeBASIC 编程语言简介

时间:2014-09-17 02:38:00     来源:宝峰科技网     访问次数:0

        FreeBASIC 是自由/开放源码的(GPL 协议)的 BASIC 编译器,适用于 Microsoft Windows 和 Linux 的32位/64位 及 Dos 平台。

        当使用了其"QB"语言模式,FreeBASIC 为 QuickBASIC 编写的程序源码提供高水平的支持。为 QuickBASIC 编写的许多程序将编译和运行在 FreeBASIC 无需更改。然而,对于在 FreeBASIC 的默认语言 (BASIC) 模式下编译,有大量的程序源码需要修改。

        FreeBASIC 是一个自托管的编译器,使得利用 GNU 编程工具作为后端的小工具软件,可以生成控制台、 图形/GUI 的可执行文件、 动态和静态库。FreeBASIC 完全支持 C 库的使用,并有部分 C++ 库的支持。这可以让程序员使用和创建库的 C 和很多其他语言。它支持 C 风格的预处理器,能够多行宏、 条件编译和文件列入。

        FreeBASIC 已被评为严密的高效的主流的工具,如 GCC。

 

原文参考:

        FreeBASIC is a free/open source (GPL), BASIC compiler for Microsoft Windows, DOS and Linux.

        When used in its "QB" language mode, FreeBASIC provides a high level of support for programs written for QuickBASIC. Many programs written for QuickBASIC will compile and run in this mode with no changes needed. However, for compilation in the FreeBASIC default language mode, most substantial programs will require changes.

        FreeBASIC is a self-hosting compiler which makes use of the GNU binutils programming tools as backends and can produce console, graphical/GUI executables, dynamic and static libraries. FreeBASIC fully supports the use of C libraries and has partial C++ library support. This lets programmers use and create libraries for C and many other languages. It supports a C style preprocessor, capable of multiline macros, conditional compiling and file inclusion.

        FreeBASIC has been rated close in speed with mainstream tools, such as GCC.

 

与 FreeBASIC 语言对应的 编程环境(IDE) FbEdit 展示:


频道推荐

游戏资源

海王2游戏素材演示
海王2游戏素材演示
牛魔王游戏素材演示
牛魔王游戏素材演示

视频教程

Cheat Engine 初级应用(以Cheat Engine自带教程Tutorial为例)02020103-04
Cheat Engine 初级应用(以Cheat Engine自带教程Tutorial为例)02020103-04
Cheat Engine 初级应用(以Cheat Engine自带教程Tutorial为例)02020103-03
Cheat Engine 初级应用(以Cheat Engine自带教程Tutorial为例)02020103
Cheat Engine 初级应用(以Cheat Engine自带教程Tutorial为例)02020103-02
Cheat Engine 初级应用(以Cheat Engine自带教程Tutorial为例)02020103-02