
语言工具
文章平均质量分 60
excpp
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【转】C++调用Python
(from http://blog.csdn.net/marising/archive/2008/09/12/2917892.aspx, http://blog.csdn.net/marising/archive/2008/09/22/2962322.aspx) 前两篇都是介绍Python调用C++的,换句话说,就是需要把C++封装成Python可以“理解”的类型。这篇,我打算说...原创 2011-09-29 18:11:02 · 117 阅读 · 0 评论 -
Java:对象的强、软、弱和虚引用
原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://zhangjunhd.blog.51cto.com/113473/53092 本文介绍对象的强、软、弱和虚引用的概念、应用及其在UML中的表示。 author: ZJ 07-12-1 Blog: [url]http://zhangjunhd.blog.51...原创 2012-01-09 15:00:37 · 84 阅读 · 0 评论 -
c++笔试题汇总
(转自http://blog.csdn.net/dongfengsun/article/details/1541926) 今天去9City笔试才发现很多基本的东西都忘记了,以后面试前要看看这篇文章了!唉,老了! ①链表反转 单向链表的反转是一个经常被问到的一个面试题,也是一个非常基础的问题。比如一个链表是这样的: 1->2->3->4->5 ...原创 2011-10-23 16:11:04 · 124 阅读 · 0 评论 -
c++中使用引用传递来提高效率
(转自:http://www.diybl.com/course/3_program/c++/cppjs/2008215/99861.html) 我们写一个函数,比如 objclass fun(objclass obj); objclass是类名,obj是对象,fun是函数名。 然后调用此函数,编译器分两个步骤: 1.每次通过值传递的方式给函数传递一个对象时,都会建立一个该对象的拷贝。 ...原创 2011-10-23 14:37:19 · 512 阅读 · 0 评论 -
GTK+ 中文显示解决方案
(转自:http://www.wangchao.net.cn/bbsdetail_40679.html) GTK+ 中文显示解决方案 有关GTK+在界面显示中文的问题,常常在Linux和使用GTK的Win32的开发人员心中隐隐作痛。不过,人类是聪明的。中国人有上下5000年的悠久的血统。所以,我们是聪明的。所以,对于中文显示也有很多对策。最常见的是IBM网站上用的gettext不过...原创 2011-10-15 06:01:34 · 365 阅读 · 0 评论 -
Table单元格td的position:relative的兼容性
( From: http://www.itref.cn/a/css/2010/0706/70.html)问题描述: 默认情况下,table的单元格td的display为table-cell,在IE给td设置position:relative,然后给它包含的一个容器使用position:absolute进行定位是有效的,但在FF下却不可以。但是在IE下,position:absolute的容器的...原创 2011-10-11 12:35:11 · 689 阅读 · 0 评论 -
Remote JSON - JSONP
( From : http://bob.pythonmac.org/archives/2005/12/05/remote-json-jsonp/ )Remote JSON - JSONP December 05, 2005 at 08:21 PM | categories: AJAX, javascript, MochiKit | 15 Comments The browser se...原创 2011-10-11 12:16:52 · 127 阅读 · 0 评论 -
GTK+主循环(main loop)的工作原理
GTK+主循环(main loop)的工作原理 转载时请注明出处和作者联系方式:http://blog.csdn.net/absurd 作者联系方式:Li XianJing <xianjimli at hotmail dot com> 更新时间:2007-3-17 我们知道GUI应用程序都是事件驱动的。这些事件大部分都来自于用户,比如键盘事件、鼠标事件或笔点事件...原创 2011-10-11 11:59:45 · 168 阅读 · 0 评论 -
Remote Scripting with IFRAME
( From: http://developer.apple.com/internet/webcontent/iframe.html ) As web sites become more and more like traditional applications, the call-response-reload model used in HTTP transactions becomes ...原创 2011-10-07 01:24:18 · 262 阅读 · 0 评论 -
Relying on DOM readiness to invoke a function (instead of window.onload)
( From: http://www.javascriptkit.com/dhtmltutors/domready.shtml)( Crazy implementation with pure javascript. Just in order to take place of " $(document).ready(function(){...});".......) Relying on D...原创 2011-10-06 06:45:00 · 180 阅读 · 0 评论 -
Which browsers support HTML5, CSS3, Data URLs, etc.
[url=http://caniuse.com/#]http://caniuse.com/#[/url]原创 2011-10-06 06:38:35 · 101 阅读 · 0 评论 -
javascript: negative number "in" array
[quote]> 3 in [1,2,3,4] true > -1 in [1,2,-1,-2] false[/quote] testing negative number, it always returns false, no matter this number is actually in the array.2011-10-06 06:34:13 · 99 阅读 · 0 评论 -
The Linux man-pages project
http://www.kernel.org/doc/man-pages/原创 2011-09-30 20:49:40 · 104 阅读 · 0 评论 -
【转】Writing Daemons in Javascript with node.JS
April 1, 2010 Writing Daemons in Javascript with node.JS At some point, while developing a web-framework with node.js, I thought it would be nice if I could create Daemons in Javascript(no wra...原创 2011-09-29 18:19:22 · 112 阅读 · 0 评论 -
【转】Compiling with cython and mingw produces gcc: error: unrecognized command lin
(From: http://stackoverflow.com/questions/6034390/compiling-with-cython-and-mingw-produces-gcc-error-unrecognized-command-line-o ) Compiling with cython and mingw produces gcc: error: unrec...原创 2012-05-03 10:46:03 · 162 阅读 · 0 评论