上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 48 下一页

2009年12月10日

testPrintSeq

摘要: #include <boost/mpl/range_c.hpp>#include <boost/mpl/vector.hpp>#include <boost/mpl/for_each.hpp>#include "boost/mpl/is_sequence.hpp"//#include <boost/mpl/if.hpp>#include <io... 阅读全文

posted @ 2009-12-10 11:24 cutepig 阅读(212) 评论(0) 推荐(0) 编辑

2009年12月7日

c preprocessor

摘要: http://wangcong.org/blog/?p=559 阅读全文

posted @ 2009-12-07 13:39 cutepig 阅读(154) 评论(0) 推荐(0) 编辑

2009年12月5日

some notes

摘要: Memory leak ANTS memory profiler (redGate company) 收费 (JetBrains) dotTrace 免费 阅读全文

posted @ 2009-12-05 22:37 cutepig 阅读(169) 评论(0) 推荐(0) 编辑

2009年12月4日

C++ Idioms

摘要: Expression Templatehttp://en.wikibooks.org/wiki/More_C%2B%2B_Idioms/Expression-templatehttp://www.google.com/search?q=c%2B%2B+%E6%83%B0%E6%80%A7%E6%B1%82%E5%80%BC&btnG=Google+%E6%90%9C%E7%B4%A2&am... 阅读全文

posted @ 2009-12-04 00:31 cutepig 阅读(300) 评论(0) 推荐(0) 编辑

2009年11月27日

一个数据包经过路由器和交换机各会发生什么变化

摘要: http://www.newsmth.net/bbscon.php?bid=696&id=25163 发信人: bearhero (至尊饱饱), 信区: Internetwork标 题: Re: 一个数据包经过路由器和交换机各会发生什么变化发信站: 水木社区 (Thu Nov 26 14:34:28 2009), 站内交换机不改mac 吧,啥也不干,直接转发路由器收到后,入端口会去掉以太头... 阅读全文

posted @ 2009-11-27 01:20 cutepig 阅读(3618) 评论(0) 推荐(0) 编辑

2009年11月25日

weak pointer的实现方法

摘要: [代码] 阅读全文

posted @ 2009-11-25 23:22 cutepig 阅读(716) 评论(0) 推荐(0) 编辑

2009年11月21日

Comparison of integrated development environments

摘要: C/C++ Main articles: C (programming language) and C++ IDE License Windows Linux Other platforms Debugger GUI builder Integrated Toolchain Profiler Code Coverage Autocomplete Static code analysis GUI B... 阅读全文

posted @ 2009-11-21 11:32 cutepig 阅读(383) 评论(1) 推荐(0) 编辑

linux安装与启动

摘要: DOS启动安装法 此方法需要在纯DOS 环境下进行,因此需要想办法进入纯DOS 环境。具体操作方法是,先把iso文件中dosutils目录读出来单独存储到硬盘上。注意要存到FAT16或FAT32格式的分区中,确保在DOS环境下能访问该分区。然后启动纯DOS 环境,进入dosutils目录,执行autoboot.bat。当提示询问何种安装方式时(如图0-15),选择硬盘安装方式(Hard Drive... 阅读全文

posted @ 2009-11-21 11:24 cutepig 阅读(401) 评论(0) 推荐(0) 编辑

2009年11月16日

Why Most Popular JavaScript libraries doesn’t support XML with namespaces?

摘要: http://mpathirage.com/why-most-popular-javascript-libraries-doesnt-support-xml-with-namespaces/ 阅读全文

posted @ 2009-11-16 00:27 cutepig 阅读(151) 评论(0) 推荐(0) 编辑

扫描线--通用多边形填充算法

摘要: 扫描线--通用多边形填充算法该算法有几个可学习的地方:(1)正负1思想(2)对边界条件的处理(3)数据结构的选择code:sweep.h#ifndef SWEEP_H#define SWEEP_Hstruct Edge { int nxty; int curx; int dx, dy; // 所在扫描线的增量 Edge *nxt;};//扫描线主算法void sweep(int p[][2], i... 阅读全文

posted @ 2009-11-16 00:11 cutepig 阅读(4178) 评论(0) 推荐(0) 编辑

2009年11月14日

google chrome os下载

摘要: http://sites.google.com/site/chromeoslinux/其实说白了就是linux+chrome,操作系统都是现成的, 不知道跟标准linux 有啥不一样 阅读全文

posted @ 2009-11-14 10:51 cutepig 阅读(304) 评论(0) 推荐(0) 编辑

2009年11月12日

Go 语言。。

摘要: 发信人: Notsaw (没看见 -- 系统发文延时 10 分钟), 信区: Linux 标 题: Go 语言。。。有闲人真多 发信站: BBS 未名空间站 (Wed Nov 11 07:14:01 2009, 美东) http://golang.org/ http://golang.org/doc/go_talk-20091030.pdf 教程里有实例: http://golang.org... 阅读全文

posted @ 2009-11-12 00:17 cutepig 阅读(582) 评论(0) 推荐(0) 编辑

2009年11月11日

memory leakage

摘要: // compile with: cl testMemLeak.cpp -D_DEBUG /MTd -Od -Zi -W3 /link -verbose:lib /debug/** This program concentrates on allocating and freeing memory* blocks to test the functionality of the _crtDbgFl... 阅读全文

posted @ 2009-11-11 17:13 cutepig 阅读(237) 评论(0) 推荐(0) 编辑

2009年11月9日

web dev framework

摘要: Language Framework Python Django Ruby ROR Java Struts+Hiberate, Spring, EJB Php Zend: http://en.wikipedia.org/wiki/Zend_Framework http://phpeye.com/zf/index.html http://en.wikipedia.org/wiki/Compariso... 阅读全文

posted @ 2009-11-09 17:13 cutepig 阅读(190) 评论(0) 推荐(0) 编辑

2009年11月6日

http://119.237.8.250

摘要: [代码]http://go2china8.appspot.com 阅读全文

posted @ 2009-11-06 00:29 cutepig 阅读(235) 评论(0) 推荐(0) 编辑

2009年11月4日

一个老题:将正整数n分为若干num个不同的正整数之和

摘要: /*http://www.newsmth.net/bbstcon.php?board=Algorithm&gid=33809发信人: firebugP (firefox), 信区: Algorithm标 题: 一个老题发信站: 水木社区 (Tue Nov 3 00:50:48 2009), 站内将正整数n分为若干num个不同的正整数之和,给出所有可能的拆分结果(数字相同而顺序不同的结果视为... 阅读全文

posted @ 2009-11-04 23:33 cutepig 阅读(689) 评论(0) 推荐(0) 编辑

StorageDevicePolicies

摘要: Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]"WriteProtect"=dword:00000001 阅读全文

posted @ 2009-11-04 19:04 cutepig 阅读(928) 评论(0) 推荐(0) 编辑

2009年10月31日

一道笔试题-多字串查找

摘要: 发信人: xyql (紫榭蔷薇), 信区: Algorithm标 题: 一道笔试题-多字串查找发信站: 水木社区 (Mon Oct 26 14:36:49 2009), 站内 在聊天程序中会有人输入脏字,"TMD"等一系列脏字,把这些脏字存一起,问入社设计一个算法,能最快的判断当前输入的语句中有脏字予以屏蔽?--※ 修改:·xyql 于 Oct 26 14:37:32 200... 阅读全文

posted @ 2009-10-31 09:41 cutepig 阅读(292) 评论(0) 推荐(0) 编辑

2009年10月26日

python:下载天涯论坛上指定作者的文章

摘要: 最近看天涯上的连续小说, 感到有些地方很不方便,比如: 作者写了一篇后, 后面很多人回复, 然后作者在写, 别人再回复, 导致看一篇完整的文章时, 需要自己可能得翻很多次页才能看完. 于是编写了这个python脚本, 只要用户输入帖子首页的网址, 和作者名(如果不输入,就认为是第一篇文章的作者), 就能将该帖子中该作者写的内容全部提取出来 [代码] 阅读全文

posted @ 2009-10-26 16:53 cutepig 阅读(853) 评论(0) 推荐(0) 编辑

2009年10月23日

A database of open-source HTTP proxies written in python.

摘要: http://proxies.xhaus.com/python/Name (click for details) V Primary features Minpythonversion V Design V License V Last updatedYYYY-MM-DD... 阅读全文

posted @ 2009-10-23 08:35 cutepig 阅读(498) 评论(0) 推荐(0) 编辑

上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 48 下一页

导航