06 2007 档案

vector().swap(v); A well known idiom for reducing a vector's capacity
摘要:Document number: N1690 (WG21) and 04-0130 (J16) Howard E. Hinnant, hinnant@twcny.rr.com Dave Abrahams, dave@boost-consulting.com Peter Dimov, pdimov@mmltd.net September 7, 2004 A Proposal to Add... 阅读全文

posted @ 2007-06-27 20:52 cy163 阅读(832) 评论(0) 推荐(0) 编辑

为软件生产商提供代码搜索服务,提高生产率 Koders Enterprise Solutions
摘要:Koders Enterprise Solutions deliver significant productivity gains and accelerate application development while reducing costs and errors. The specialized Koders search technology allows software de... 阅读全文

posted @ 2007-06-19 22:29 cy163 阅读(434) 评论(0) 推荐(0) 编辑

Linux下转换字符集(UTF8转换) 借鉴此文自己已成功在LInux上实现gtk中 从UTF8到GB的转换
摘要:在LINUX上进行编码转换时,既可以利用iconv函数族编程实现,也可以利用iconv命令来实现,只不过后者是针对文件的,即将指定文件从一种编码转换为另一种编码。一、利用iconv函数族进行编码转换iconv函数族的头文件是iconv.h,使用前需包含之。#include iconv函数族有三个函数,原型如下:(1) iconv_t iconv_open(const char *tocode, c... 阅读全文

posted @ 2007-06-19 22:26 cy163 阅读(7593) 评论(2) 推荐(0) 编辑

UTF8转换为GB编码gb2312转换为utf-8
摘要:这个方法是用windows的字符集转换的,跟sybase 的unicode码表可能在某些符号上有差别,对于大部分字符来说,尤其是 汉字,应该不会有问题的,如果要求比较高的话,可以买sybase的 unicode开发包,:P [code] #include #include #include #include #include #include size_t mbstoutf8(unsi... 阅读全文

posted @ 2007-06-18 17:23 cy163 阅读(6459) 评论(0) 推荐(0) 编辑

一个非常出色的gtk例子
摘要:2007-06-10 22:09:41 #include #include #include #include #include #include #include #include "katachi-fullscreen.h"#include "katachi-image-cache.h"#include "katachi-image-store.h"#include "thumbnai... 阅读全文

posted @ 2007-06-18 09:24 cy163 阅读(8832) 评论(0) 推荐(0) 编辑

使用GTK编写中文软件
摘要:GTK/GNOME 系列widgets中, 输入和显示已经是国际化了的. 所以用它们编写中文软件十分容易. 把西文软件改写成中文软件也十分容易. 在程序中包含 locale.h 在gtk_init前设置locale: gtk_set_locale() 接着调用 gtk_rc_add_default_file("rcfilename"), 其中rcfilename中 含有... 阅读全文

posted @ 2007-06-17 17:46 cy163 阅读(1306) 评论(0) 推荐(0) 编辑

Gtk_Init(int argc, char *argv[]) argv[0]可以指向 另一个程序的可执行文件名
摘要:最傻的分窗口显示三个进程的程序! 这个是课程设计的一个作业,我用的是该死的RadHad9.03,单个窗口程序运行都没有错误,但是放到一起就不能弹出窗口,放到别的系统(如debian)下就没有这个问题!真是该死!(注:现在问题已经解决) 1,窗口程序: #include #include #include void destroy (GtkWidget *widget,gpointer *da... 阅读全文

posted @ 2007-06-16 21:36 cy163 阅读(3180) 评论(0) 推荐(0) 编辑

关于 Gtk 的入门级系列文章 http://fanqiang.chinaunix.net/a4/b8/20010427/133046.html
摘要:http://fanqiang.chinaunix.net/a4/b8/20010427/133046.html 阅读全文

posted @ 2007-06-16 09:23 cy163 阅读(256) 评论(0) 推荐(0) 编辑

关于GtkTreeView和 MVC的一篇好文章 入木三分
摘要:http://rat.nutn.edu.tw/~slayer/myarticle/gtk_tree_view_tutorial.html Author: qrtt1 2006/07/11 Preface 想要使用GtkTreeView實在不是一件"簡單"的事。我在這把簡單特意括了起來,是因為要提醒您一下。我並不是想要暗示您聯想到他是很難的,在這裡我選擇了另一種相對的意義 -- 繁複。步驟多了一... 阅读全文

posted @ 2007-06-16 01:47 cy163 阅读(2948) 评论(1) 推荐(1) 编辑

Gtk对于通常的gui程序,大家想做的事就是做一点事件处理(包括各种计算、文件操作等),然后在界面上显示出来
摘要:以下内容全部为个人在linux下编程的经验,为个人原创。如转载请注明出处,并请保持文章完整。 编写GTK+程序基本思想 社团 linuxfans 作者 sagaeon 对于通常的gui程序,大家想做的事就是做一点事件处理(包括各种计算、文件操作等),然后在界面上显示出来。以下分步骤以gtk为例地介绍一些概念上的入门知识。(因所看资料已无法找到,不对之处请大家指出)。 一我们想完成什么功能及会碰到的... 阅读全文

posted @ 2007-06-16 00:39 cy163 阅读(2449) 评论(2) 推荐(0) 编辑

一个混合 MPI_Init() 和 gtk_init() 的实例序
摘要:int main (int argc, char *argv[]){ int i, n; pthread_t draw_thread;#ifdef USEMPI MPI_Init(&argc, &argv); MPI_Comm_size(MPI_COMM_WORLD, &num_nodes); MPI_Comm_rank(MPI_COMM_WORLD, &rank);#endif ... 阅读全文

posted @ 2007-06-10 21:55 cy163 阅读(1171) 评论(0) 推荐(0) 编辑

GTK+图形化应用程序开发学习笔记
摘要:http://blog.chinaunix.net/u/22935/showart_305786.html一、初始化GTK+ 写GTK+程序需要调用gtk_init函数对GTK+ 库函数进行初始化。 1. 名称:: gtk_in... 阅读全文

posted @ 2007-06-10 21:41 cy163 阅读(2734) 评论(1) 推荐(0) 编辑

Part 3--Chapter 8-7) High Performance Linux Clusters with OSCAR, Rocks, OpenMosix, and MPI
摘要:Part III: Building Custom Clusters This section describes individual components and software that you should consider when building you... 阅读全文

posted @ 2007-06-02 23:20 cy163 阅读(1343) 评论(0) 推荐(0) 编辑

(Part 2--Chapter 5-7) High Performance Linux Clusters with OSCAR, Rocks, OpenMosix, and MPI
摘要:Part II: Getting Started Quickly This section describes the installation of three software packages that, when installed, will provide you with a complete working cluster. These packages differ radic... 阅读全文

posted @ 2007-06-02 20:50 cy163 阅读(1440) 评论(0) 推荐(0) 编辑

(Part 1--Chapter 1-4) High Performance Linux Clusters with OSCAR, Rocks, OpenMosix, and MPI
摘要:Part I: An Introduction to ClustersThe first section of this book is a general introduction to clusters. It is largely background material. Readers already familiar with clusters may want to quickly s... 阅读全文

posted @ 2007-06-02 19:37 cy163 阅读(1435) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示