C/C++ IDE Code::Blocks安装过程(含中文包下载)

1.简介

Code::Blocks,有时也简单打成“CodeBlocks”,是一款全新的C++集成设置环境软件(IDE)。

作为一款C++的IDE,Code::Blocks至少有以下几点非常吸引我。

  • 开源——开源不仅仅意味着免费,但就算是仅仅是免费这一点,就非常重要了,不是吗?
  • 跨平台——我的工作需要写的C++程序,就要求是跨Linux和平台,没有选择Code::Blocks之前,我在Linux下用KDevelop,在下使用Borland 或 Microsoft的软件,由于二者不兼容而要多做的事情太多。或许你暂时并不考虑跨平台,但为了将来,能跨平台总不是坏事,对了Code::Blocks也支持Mac系统呢。
  • 纯C/C++写成——作为一名C++程序员,我“顽固”地保留一点可能并不必要的自尊:写C++程序,还是用C++写的IDE吧。让我选择一款以其它语言写成的IDE来写C++程序,我有那么一点点完全不必要的心理障碍。其实用C++写的程序最大好处是你不用额外安装庞大的运行环境,譬如你不用装.net也不装java。
  • 支持多编译器——包括Borland C++,、VC++、Inter C++等等超过20个不同产家或版本编译器支持。无特定要求下,我还是主要用g++。配对的,调试器也是支持多种。
  • 插件式的框架——插件式的集成开发环境,最著名的是Java编程工具Eclipse了,这种方式让一款IDE保留了良好的可扩展性,应该说,作为一款开源的IDE,这是最合理的选择。Code::Blocks很多核心功能,包括“调试功能”,都通过插件来实现。非核心方面的插件嘛,我用得最多的,是代码格式美化、自动上Google Codes查找……偶尔也会玩玩“俄罗斯方块”以及“贪吃蛇”……
  • 经常更新——几乎每个月都会有更新。开源软件最怕的就是不更新了。
  • 内嵌可视设计——和大家熟悉的VB、Delphi/Builder相比,它的可视窗口设计器,其“傻瓜性”差了一大截,其主要原因在在主流的跨平台图形窗口的定位体系,都是采用定位“容器”来实现的,这一点一开始会不太习惯,但在熟悉之后,设计各种对话框,也非常直观。一点点不直观,换来的是你的程序很容易迁移到别的操作系统,同时还让你对窗口设计更深入了,倒也值。
  • C++扩展库支持——通过它的一个用以支持Dev C++的插件,可以下载大量C++开源的扩展库。比如网络操作,图形算法,压缩、加密等等……我现在最常用到一款就是iconv,用来转换汉字编码。扩展库下载,及使用方法。
  • 多国语言——哈哈,有中文版,支持近40国语言,不过并不是默认支持。
  • 众人的选择——顺便说一下,Code::Blocks进入“Sourceforge community choice award” 2008年度决赛了。“Sourceforge”是全球最大的开源社区,那这个赛事,可称为“社区最佳选择奖”,最终能不能获奖不好说,不过确实有去投过一票。能有很多用户无私无利的支持以进入决赛,这自然也是我们选择一个参考。

下面开始正题。

Continue reading C/C++ IDE Code::Blocks安装过程(含中文包下载) - 全文阅读

Debugging with Code::Blocks

Build debug version of your project

Make sure that the project is compiled with the -g ( symbols) option on, and the -s (strip symbols) option off. This ensures that the executable has debug symbols included.

首先你要确认编译选项 -g是打开的,-s是关闭的(strip会把debug信息清除)

optimization switches should be turned off, stripping symbols (-s) must be turned off.

Keep in mind that you may have to re-build your project as up-to-date object files might not be re-compiled with -g otherwise. Please be aware that in compilers other than GCC, -g and/or -s might be a different switch (-s might not ba available at all).

Menu => Project => Build Options

Set Project Build Options

Continue reading Debugging with Code::Blocks - 全文阅读

开源IDE CodeBlocks使用感受

[摘要] Code::Block、 和 wxWidgets 分别是三个著名的开源项目,分别是 IDE、编译器和界面库。由这三样搭建起来的全开源纯c++开发环境,功能不逊色于Visual C++,由于是开源的,这样的环境还是免费的,并且是跨平台的。
CodeBlocks 简介:

  Code::Block、 和 wxWidgets 分别是三个著名的开源项目,分别是 IDE、编译器和界面库。由这三样搭建起来的全开源纯c++开发环境,功能不逊色于Visual C++,由于是开源的,这样的环境还是免费的,并且是跨平台的。

  Code::Blocks是一个开源、免费、跨平台的c++ IDE。官方网站上称其能满足最苛刻的用户的需求。虽有点夸张,但既然敢这样说,也说明它的功能肯定不差。可扩展插件,有插件向导功能,让你很方便的创建 自己的插件。Code::Blocks是用c++编写的(用wxWidgets库),捆绑了编译器。

  突出特点: 开源(遵循GPLv3规范)、跨平台(可在和linux平台下运行)、GNU c++编写、可扩展插件、devpack支持(可选)。

  欲知更多可以访问官方网站: http://www.codeblocks.org/

From: http://www.enet.com.cn/article/2008/0327/A20080327198633.shtml

如何在Windows上安装Code Blocks 8.02官方发布版

本文档依照发布,转载请注明出处:codeblocks.org/ide..com 翻译,Bryan@CBForge.

20070405173053521 安装步骤:

1. 通过下面的链接下载CB官方安装包,如果你还没有安装,可以选择下载绑定的CB软件包;

2. 按照每步的说明运行安装;

3. 如果你想安装其他编译器,可参考安装文件中信息,我们也会稍后提供相关的详细说明【.com注】;

4. 如果没有安装绑定的版本,你需要手工配置编译器

以下是原文:

Install steps
  1. Download the Code::Blocks 8.02 installer. If you know you don’t have installed, download the package which has bundled.
  2. Run the installer, it’s a standard installer for ; just press Next after reading each screen.
  3. If you’re planning installing a after you’ve installed Code::Blocks, read the information provided in the installer.
  4. If you downloaded the installer which doesn’t come with , you may have to configure the manually (usually Code::Blocks’ auto detects the ).

Retrieved from "http://wiki.codeblocks.org/index.php?title=Installing_the_latest_official_version_of_Code::Blocks_on_Windows"

CB introduction and features

cb_debugging.pngCode::Blocks is a free C++ IDE built to meet the most demanding needs of its users. It is designed to be very extensible and fully configurable.

Finally, an IDE with all the features you need, having a consistent look, feel and operation across platforms.

Built around a plugin framework, Code::Blocks can be extended with plugins. Any kind of functionality can be added by installing/coding a plugin. For instance, compiling and functionality is already provided by plugins!

We hope you enjoy using Code::Blocks!

Features

Highlights:

  • ! GPLv3, no hidden costs.
  • Cross-platform. Runs on Linux, Mac, (uses wxWidgets).
  • Written in C++. No interpreted languages or proprietary libs needed.
  • Extensible through plugins

:

  • Multiple support:
    • GCC ( / GNU GCC)
    • MSVC++
    • Digital Mars
    • Borland C++ 5.5
    • Open Watcom
    • …and more
  • Very fast custom build system (no makefiles needed)
  • Support for parallel builds (utilizing your CPU’s extra cores)
  • Multi-target projects
  • Workspaces to combine multiple projects
  • Inter-project dependencies inside workspace
  • Imports MSVC projects and workspaces (NOTE: assembly code not supported yet)
  • Imports Dev-C++ projects

Debugger:

  • Interfaces GNU GDB
  • Also supports MS CDB (not fully featured)
  • Full breakpoints support:
    • Code breakpoints
    • Data breakpoints (read, write and read/write)
    • Breakpoint conditions (break only when an expression is true)
    • Breakpoint ignore counts (break only after certain number of hits)
  • Display local function symbols and arguments
  • User-defined watches (support for watching user-defined types through scripting)
  • Call stack
  • Disassembly
  • Custom memory dump
  • Switch between threads
  • View CPU registers

Interface:

  • Syntax highlighting, customizable and extensible
  • Code folding for C++ and XML files.
  • Tabbed interface
  • Code completion
  • Class Browser
  • Smart indent
  • One-key swap between .h and .c/.cpp files
  • Open files list for quick switching between files (optional)
  • External customizable “Tools”
  • To-do list management with different users

And many more features provided through plugins!

Bryan:

All above came from codeblocks.org

以后我们会陆续翻译一些重要的文章给大家!

Readme for cbforge

code block

现阶段致力于宣传和本地化以Code:: Blocks IDE为核心的软件开发工具集,希望能帮助CB在中国的用户深入了解和使用它开发出优秀的软件。在和CB的原作者沟通中收获良多,同时也得到了他们大力的支持,

在此希望爱好开放源代码和软件开发的有志之士加入我们,一起努力!
 Page 13 of 13  « First  ... « 9  10  11  12  13 

Contact us

Admin: Bryan Wu