Random Pages

Editra

Editra is a multi-platform text editor with an implementation that focuses on creating an easy to use interface and features that aid in code development. Currently it supports syntax highlighting and variety of other useful features for over 60 programming languages.

Editra is freely available for personal use under the terms of the wxWindows License.
Currently the [...]

wxWidgets中ListCtrl中的item数据遍历

在Ubuntu上安装,我现在比较喜欢用sudo apt-get install,简单。如果实在想手工干,当然下源码。
wxWidgets安装比较简单:
sudo apt-get install libwxbase2.8-dev wx2.8-i18n wx2.8-headers wx2.8-examples python-wxgtk2.8
需要安装的还有:
libwxgtk2.8-dev
libwxgtk2.8-dbg
wx-common
wxWidgets Examples安装目录是:/usr/share/doc/wx2.8-examples/
编译ListCtrl例子,需要将几个.gz解开即可。为了遍历数据,需要如下代码:

// 数据列表在此导出
int ItemCount, ColumnCount;
wxListItem Item;
wxString itemInfo;

ColumnCount = m_listCtrl->GetColumnCount();
ItemCount = m_listCtrl->GetItemCount();

Item.m_itemId = -1; //这个指出第一行,就是标题行
Item.m_mask = wxLIST_MASK_TEXT;
for(int i=0; i<columncount ; i++) {
//
m_listCtrl->GetColumn(i, Item);

itemInfo += wxT(">>") + Item.m_text;
}
itemInfo += wxT("\n"); //

for(int i=0; i<itemcount ; i++) {
Item.m_itemId = i; // 行从0开始
for(int j=0; j<ColumnCount; [...]

Kirix™ Strata™

Kirix™ Strata™ is an ad hoc data analysis and reporting tool built for people who work with, manipulate and analyze structured data.  Strata is easy to use, has the power you need to work with large files, and helps you get your work done faster:

Access data from anywhere (Oracle, SQL Server, CSV, XLS, EBCDIC, HTML, etc.)
Freedom from [...]

wxWidgets, Windows下mingw编译

mingw32-make -f makefile.gcc clean
mingw32-make -f makefile.gcc
mingw32-make -f makefile.gcc BUILD=release UNICODE=1
参考:
1. http://blog.donews.com/ESZETA/archive/2006/12/17/1097617.aspx

Code::Blocks:如何使用每晚编译

1. 何为每晚编译版
每晚编译版是一个照现在的样子的改进的版本。是二进制发行版。一般会每天提供,代表着Code::Blocks源码的最近也是最好的状态。一般来说它们会非常稳定,但是它们仍然会可能引入新的bug、退步,另一方面,它们也会引入新的特性和bug修复。。。