ProjectManager, Project and ProjectFile in Code::Blocks

CB-Project-File IDE的内部实现中,关于项目和文件之间的关系和数据保存主要维护在Project,和ProjectFile这几个类里面。在里面有几个部分:1)View:包括m_pNotebook, m_pTree, m_plugin等;2)Status:包括m_isLoadingProject, m_isclosingProject, m_isCheckingForExternallyModifiedProject等,从字面意义上就可以看出它们的用途;3)Project:包括m_pActiveProject和指针*m_pProjects。这个当前活动的项目m_pActiveProject就是Project类的实例。

Continue reading ProjectManager, Project and ProjectFile in Code::Blocks - 全文阅读

Code::Blocks Debug Shortcut and Example

作为一个优秀的IDE,Code::Blocks自然也提供Debugger的功能,以下我们介绍如何使用Code::Blocks的Debugger和使用实例。下面是CodeBlocks Debug的快捷键定义():

Debug - F8 ,Continue - Ctrl + F7 ,Step over a code block  - F7

Step into a code block - Shift + F7,Step out of a code block - Ctrl + Shift + F7

Toggle breakpoint - F5Run to cursor - F4

Previous error - Alt + F1Next error - Alt + F2

Continue reading Code::Blocks Debug Shortcut and Example - 全文阅读

Code::Blocks IDE: 手动安装和配置编译器指南

GCC-Compiler 当第一次运行CodeBlocks IDE,它会自动扫描系统寻找支持的编译器。当扫描结束时,CodeBlocks会配置检测到的编译器,甚至为那些没有发现的编译器也会包括缺省的配置。这篇文章主要是指导你如何手动获取、安装和配置CodeBlocks可以使用的编译器。以下大体上按照操作系统不同分别讨论:和Mac OS X。同时包含各种编译器的主页/下载地址可以方便你直接访问。

Continue reading Code::Blocks IDE: 手动安装和配置编译器指南 - 全文阅读

CodeBlocks下SDL编译成功实例

Cartoon-codeblocks-sdl-compile 1 首先去下载一份最新版的 CodeBlocks;2 在SDL官方下载一份SDL-MingW版;3 开始我们的SDL之旅吧

首先建立一个空的项目并且选择编译规则为Gcc;其次在编译和调试选项中设置好SDL的库目录。这里值得注意的是在项目工程属性中 编译目标 中的 选项设置类型为 Gui applications;最后在编译和调试选项中的 连接设置中的 其他链接选项 输入-lmingw32 -lSDLmain –lSDL

Continue reading CodeBlocks下SDL编译成功实例 - 全文阅读

Setting up Code::Blocks to work with SDL - 多媒体编程库

tmobile-sdl - Simple DirectMedia Layer, is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning Linux port of "Civilization: Call To Power."

supports Linux, Windows, Windows CE, BeOS, MacOS, , FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. The code contains support for AmigaOS, Dreamcast, Atari, AIX, OSF/Tru64, RISC OS, SymbianOS, and OS/2, but these are not officially supported.  is written in C, but works with C++ natively, and has bindings to several other languages, including Ada, C#, D, Eiffel, Erlang, Euphoria, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP, Pike, Pliant, Python, Ruby, Smalltalk, and Tcl.  is distributed under GNU LGPL version 2. This license allows you to use freely in commercial programs as long as you link with the dynamic library. – libsdl.org

Continue reading Setting up Code::Blocks to work with SDL - 多媒体编程库 - 全文阅读

QT4+MinGW+Code::Blocks IDE集成

qtplatforms13map再转载一篇关于QT安装和在Code Blocks中使用的文章,含有详细的步骤。关于QT的介绍:

Qt is a cross-platform application and UI framework. Using Qt, you can write applications once and deploy them across many desktop and operating systems without rewriting the source code. Develop applications and user interfaces once, and deploy them across , Mac, /X11, , CE and S60 (coming soon) without rewriting the source code.  - qtsoftware.com

Continue reading QT4+MinGW+Code::Blocks IDE集成 - 全文阅读

加法?减法:CodeLite or Code::Blocks just for another sourceinsight

china-03_07 Bryan Wu: cbforge at Gmail dot com.

一直受困于平台限制,也一直希望实现一个替代品。之前一直在阅读Code Blocks IDE的代码并且也移植了 进去以希望可以逐步实现这个目标。但是现在发现其实CodeLite更加接近这个目标,通过做减法可以很快实现一个简洁版本的开源,关键是跨平台。试用和通过一些修改,我想第一个试用版本的 Open source “”会很快和大家见面,不知道是不是会有人喜欢用?

工欲善其事,必先利其器也,我相信编程的朋友一定或多或少的通过受益,如果您也有同样的想法和时间,可以加入一起把这个想法实现并定制一些高级功能供大家使用。

Continue reading 加法?减法:CodeLite or Code::Blocks just for another sourceinsight - 全文阅读

CodeLite IDE介绍

codeliteBryan @ CBForge:

 本来打算整合cscope到code::blocks IDE中实现函数调用查找等功能,代码写了一半,发现CodeLite已经整合的很好了。:(

而且CodeLite IDE是一个轻量级的C、C++开发环境,其中很多功能非常适合开发一个开源版本的sourceinsight。

下面转载一篇介绍CodeLite的文章给大家。 Continue reading CodeLite IDE介绍 - 全文阅读

Code::Blocks编译skyeye步骤

simulation Bryan注:原文前面关于C::B的介绍略去,这一篇文章主要是介绍编译的步骤。

是一款开源的软件仿真模拟器软件,可以用于嵌入式软件的开发调试,是由中国人开发的开源项目中比较突出的一个。本文作者主要关注CB编译的方法步骤,关于的详细内容,大家可以Google其他网站内容。

is an Software Project (GPL Licence). Origin from /Armulator, The goal of is to provide an integrated environment in and . environment simulates typical Embedded Computer Systems (Now it supports a series ARM architecture based microprocessors and Blackfin DSP Processor). You can run some Embedded Operation System such as ARM , uClinux, uc/OS-II (ucos-ii) etc. in , and analysis or debug them at source level. – .org

使用CodeBlocks编译-1.2.5(系统,已安装完整的编译环境)
使用Makefile编译:

Continue reading Code::Blocks编译skyeye步骤 - 全文阅读

 Page 1 of 3  1  2  3 »

Contact us

Admin: Bryan Wu