jfo planet

Hope is the best gift that tomorrow gives.

  • 首页
  • 分类
  • 归档
  • 标签
  • 搜索
close

C++各大有名GUI库

发表于 2008-09-27   |   分类于 c/c++/algorithm
C++各大有名库的介绍——GUI  在众多C++的库中,GUI部分的库算是比较繁荣,也比较引人注目的。在实际开发中,GUI库的选择也是非常重要的一件事情,下面我们综述一下可选择的GUI库,各自的特点以及相关工具的支持。1、MFC大名鼎鼎的微软基础类库(Microsoft Foundation Class)。大凡学过VC++的人都应该知道这个库。虽然从技术角度讲,MFC是不大漂亮的,但是它构建于Windows API 之上,能够使程序员的工作更容易,编程效率高,减少了大量在建立 Windows 程序时必须编写的代码,同时它还提供了所有一般 C++ 编程的优点,例如继承和封装。MFC 编写的程序在各个版本的Windows操作系统上是可移植的,例如,在Windows 3.1下编写的代码可以很容易地移植到 Windows NT 或 Windows 95 上。但是在最近发展以及官方支持上日渐势微。2、QT参考网站:http://www.trolltech.comQt是Trolltech公司的一个多平台的C++图形用户界面应用程序框架。它提供给应用程序开发者建立艺术级的图 ...
阅读全文 »

【zz】Enforcing Code Feature Requirements in C++

发表于 2008-09-25   |   分类于 c++/c++ template/gp/boost
http://www.artima.com/cppsource/codefeatures.htmlhttp://docs.google.com/Doc?id=dnc5d3v_109gmz4xwgbEnforcing Code Feature Requirements in C++by Scott MeyersSeptember 23, 2008SummaryFunctions often depend on particular behavioral characteristics (“features”) of code they invoke. For example, thread-safe code must invoke only thread-safe code if it is to remain thread-safe, and exception-safe code must invoke only exception-safe code. This paper describes a technique that enables the s ...
阅读全文 »

udev - hal - dbus

发表于 2008-09-19   |   分类于 Linux
References:UDEVudev f.a.q. http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-FAQwriting udev rules http://www.reactivated.net/writing_udev_rules.htmlgood howto http://webpages.charter.net/decibelshelp/LinuxHelp_UDEVPrimer.htmludev实现原理 http://blog.csdn.net/absurd/archive/2007/04/27/1587938.aspxhotplug and firmware loading with sysfs http://www.kerneltravel.net/jiaoliu/sysfs.txtHALthe purpose of hal http://www.ometer.com/hardware.htmlhal web si ...
阅读全文 »

upstart : Ubuntu's event-based init daemon

发表于 2008-09-19   |   分类于 Linux
Ubuntu-8.04系统启动过程upstart包提供/sbin/initupstart-compat-sysv包提供与sysv兼容的系统启动文件,包括/etc/event.d/{rcS,rc[0-6],rc-default,rc-sulogin},以及halt、reboot、shutdown等命令。ubuntu-8.04中,系统在执行initrd中/init脚本的最后一步,执行exec run-init ${rootmnt} ${init} "$@" <${rootmnt}/dev/console >${rootmnt}/dev/console 2>&1其中run-init是由klibc-utils包(klibc-1.5.7/usr/kinit/run-init/run-init.c)提供的。run-init做完必要的设置后,execv("/sbin/init", …),将控制交给upstart,/sbin/init的PID为1。upstart的/sbin/init会读取/etc/event.d/目录下的配置文件,并 ...
阅读全文 »

Dual Display,Ubuntu下为笔记本实现双显示器

发表于 2008-09-16   |   分类于 Linux App
ref : http://thatssky.spaces.live.com/Blog/cns!251B8640E925FC00!507.entry修改/etc/X11/xorg.conf:Section "Device"    Identifier    "Configured Video Device"    Driver        "fglrx"EndSection# addedSection "Device"    Identifier    "Card1"    Driver        "fglrx"EndSecti ...
阅读全文 »

【zz】linux内核参数

发表于 2008-09-16   |   分类于 Linux
mylinux-2.6.26.6/Documentation/kernel-parameters.txtconsole=ttyS0:内核输出到串口eg: qemu -hda c.img -serial file:/tmp/qemu.out    # 将启动信息输出到 /tmp/qemu.outinitcall_debug=1:调用init节内的函数时输出debug信息myref:http://doc.linuxpk.com/1163.htmllinux内核在启动的时候,能接收某些命令行选项或启动时参数。当内核不能识别某些硬件进而不能设置硬件参数或者为了避免内核更改某些参数的值,可 以通过这种方式手动将这些参数传递给内核。如果不使用启动管理器,比如直接从BIOS或者把内核文件用“cp zImage /dev/fd0”等方法直接从设备启动,就不能给内核传递参数或选项--这也许是我们使用引导管理器比如LILO的好处之一吧。LINUX的内核参数是以空格分开的一个字符串列表,通常具有如下形式:name[=value_1][,value_2]…[,valu ...
阅读全文 »

ubuntu-8.04:linux-restricted-modules & linux-ubuntu-modules

发表于 2008-09-09   |   分类于 Linux App
如何编译内核:1. 安装Linux源代码下载2.6.24-21-generic版本内核:apt-get source linux-image-2.6.24-21-generic下载当前使用版本内核:apt-get source linux-image-$(uname -r)注意,打过补丁后Linux的版本号需要手动更改,修改Makefile如下:VERSION = 2PATCHLEVEL = 6SUBLEVEL = 24 #EXTRAVERSION = .3 EXTRAVERSION = -21-generic2. 编译内核a. 传统方法make menuconfigmake bzImagemake modulesmake install                  # 将bzImage拷贝至在/boo/ 目录下的vmlinuz,并创建符号链接make modules_install &nb ...
阅读全文 »

PPTP Client

发表于 2008-09-01   |   分类于 Network
pptpclient-how-to http://pptpclient.sourceforge.net/howto-ubuntu.phtmlvpn-routing http://pptpclient.sourceforge.net/routing.phtml#client-to-server~~ my config a. vi /etc/ppp/chap-secrets#client server Password IP Address #域名\用户名 服务器名 密码vance    "pptpd.vance"    123456    *b. vi /etc/ppp/options.pptplocknoauthrefuse-eaprefuse-chaprefuse-mschapnobsdcompnodeflate#require-mppe-128c. vi /etc/ppp/peers/vpn.lab113# 10.214.9.113&mdas ...
阅读全文 »

【zz】Ubuntu Installation

发表于 2008-08-29   |   分类于 Linux App
【zz】http://hi.baidu.com/jmlover/blog/item/1a24314e482153cbd1c86a0a.html【ref】 http://hi.baidu.com/flyship163/blog/item/d24ca72f9f53743b1f3089f7.htmlmy源 http://ppa.launchpad.net/my从硬盘安装DVD版ubuntu-8.04.1-dvd-i386.isoroot (hd0,4) kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-8.04.1-dvd-i386.iso [ quiet splash ro automatic-ubiquity locale=zh_CN.UTF-8 ]initrd /initrd.gz my克隆wubi安装的ubuntu系统(1)安装两个软件以增强硬件检测能力         sudo apt-get install discover1 xres ...
阅读全文 »

Linux:Ubuntu-8.04/Arch环境

发表于 2008-08-28   |   分类于 Linux App
Environment >>>>>>>>>>>>>>>>>>>>>>>>> Arch <<<<<<<<<<<<<<<<<<<<<<<<<< ==========================================================Ø 为nautilus添加右键菜单脚本~/.gnome2/nautilus-scripts目录下添加shell脚本 ==========================================================Ø 音频处理领域的瑞士军刀──SoX SoX 是命令行下的一套音频处理组件,由于其功能强大,号称”音频处理领域的瑞士军刀”.那么SoX到底有什么功能呢?它可以播放/转换/录制多种音频格式文件,包括但 ...
阅读全文 »
1…353637…61
jfo

jfo

605 日志
38 分类
4 标签
RSS
GitHub 微博
友情链接
  • 收藏夹
  • 网络剪贴板
  • 爱逛吧
© 2007 - 2018 jfo
由 Hexo 强力驱动
主题 - NexT.Pisces