- 博客(25)
- 资源 (2)
- 收藏
- 关注
原创 C++库研究笔记——操作符重载实现类型转换&这样做的意义
目标:已知这个接口:std::vector add_vec(double *d1, double *d2){.....return result;}我们自定义了这个类:class array{int size_;double *data_;....};要求实现:array v1(10), v2(10);add_vec(v1, v2);留意
2013-07-30 17:23:57 1417
翻译 C++库研究笔记——赋值操作符operator=的正确重载方式(三个准则)
C++ Operator Overloading Guidelines设计要求: a, b, c, d, e; a = b = c = d = e = 42;This is interpreted by the compiler as: a = (b = (c = (d = (e = 42)))); MyClass a, b, c; ... (a = b)
2013-07-30 11:00:23 7649
原创 C++库研究笔记——函数名的宏定义
6.47 Function Names as Strings:http://gcc.gnu.org/onlinedocs/gcc/Function-Names.htmlGCC provides three magic variables that hold the name of the current function, as a string. The first of these
2013-07-29 22:09:40 3182
原创 C++库研究笔记——几个注意(size_t)
总之,用size_t 保证可移植性,保证其可以表示出最大需要表示的长度When i is signed and size is unsigned, then i is converted to unsigned before the comparison is performed. This is part of what are called the usual arithmet
2013-07-29 09:32:45 818
原创 C++库研究笔记——policy-base 实现
From: stackoverflow#include struct InkPen{ void Write() { this->WriteImplementation(); } void WriteImplementation() { std::cout << "Writing using a inkpen" <<
2013-07-29 02:03:53 683
原创 C++库研究笔记——doxygen资料记录
doxygen+VIM文档实用指南for C/C-liked Programmers:http://blog.csdn.net/clarkZHUO/article/details/1471573
2013-07-29 01:27:52 473
原创 C++库研究笔记——Linux 下高精度计时器
High resolution timer in Linuxhttp://stackoverflow.com/questions/6749621/high-resolution-timer-in-linuxCheck out clock_gettime, which is a POSIX interface to high-resolution timers.
2013-07-28 13:03:58 3481
原创 C++库研究笔记[1] Profile->程序执行时间统计
统计计时问题:1.clock() 函数相当的严重不准确Resolution Problems inclock():http://www.guyrutenberg.com/2007/09/10/resolution-problems-in-clock/
2013-07-27 16:23:52 740
转载 [1-9]Profiling Code Using clock_gettime
Keeping track of what I doProfiling Code Usingclock_gettime:http://www.guyrutenberg.com/2007/09/22/profiling-code-using-clock_gettime/with 45 commentsAfter raising the issue of the low r
2013-07-27 15:33:37 654
原创 待读笔记[1]
用 BLAS/LAPACK 编写矩阵运算程序:http://blog.henix.info/blog/blas-lapack-do-matrix-operation.html在 Linux 中用 ffmpeg 录屏计算机科学名言警句:http://blog.henix.info/blog/cs-quotes.html多终端管理器tmux使用详解:http://www.lampbo.
2013-07-27 01:46:28 2175
原创 The 21th-30th things after installing Ubuntu 12.04
1.sudo apt-get install curl
2013-07-24 03:16:27 631
原创 Vim 配置笔记(python+cpp)
原创文章,转载请注明:转载自Easwy的博客 [http://easwy.com/blog/ ]本文链接地址: http://easwy.com/blog/archives/advanced-vim-skills-catalog/
2013-07-23 11:05:04 635
原创 [个人笔记]库设计——测试设计(openMvl)
#include 28 #include 29 30 #include "mvl.hpp" 31 using namespace mvl; 32 33 #include "util/graphics.hpp" 34 35 #include "tests/layout_prod_test.hpp" 36 #include "tests/layout_tr
2013-07-23 00:08:47 629
翻译 Linux Crontab: 15 震撼实例
Linux Crontab: 15 Awesome Cron Job Exampleshttp://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/An experienced Linux sysadmin knows the importance of running the routine mai
2013-07-21 17:39:59 1377
翻译 UNIX / Linux 50个最常用命令(含例子)
50 Most Frequently Used UNIX / Linux Commands (With Examples):http://www.thegeekstuff.com/2010/11/50-linux-commands/his article provides practical examples for 50 most frequently used commands in Li
2013-07-21 17:36:47 3172
翻译 wget 使用的15个震撼例子
来源:The Ultimate Wget Download Guide With 15 Awesome Examples(访问速度过慢,转载到此)wget utility is the best option to download files from internet. wget can pretty much handle all complex download situati
2013-07-21 17:29:48 32336 1
原创 Python爬虫
用python爬虫抓站的一些技巧总结http://obmem.info/?p=476使用python爬虫抓站的一些技巧总结:进阶篇http://obmem.info/?p=753
2013-07-14 15:02:29 840
原创 Ten things about vim
1.Vim Search and replacehttp://vim.wikia.com/wiki/Search_and_replace:%s/foo/bar/gFind each occurrence of 'foo' (in all lines), and replace it with 'bar'.:s/foo/bar/gFind each occurrence of 'fo
2013-07-14 00:51:15 475
原创 11th-20th things after installing Ubuntu12.04
1.Ubuntu 12.04下搭建Web服务器:http://blog.sina.com.cn/s/blog_6b45901801012yzv.html
2013-07-13 22:23:53 689
原创 git
$ git config user.name "FirstName LastName"$ git config user.email "user@example.com"git config --listPart1.https://www.digitalocean.com/community/articles/how-to-install-git-on-ubuntu-12-04Part2:h
2013-07-02 21:45:20 1068
转载 Mixed MPI-OpenMP programming
http://www.uio.no/studier/emner/matnat/ifi/INF3380/v10/undervisningsmateriale/inf3380-week14.pdf
2013-07-02 14:54:32 440
翻译 MPI[1]
http://people.sc.fsu.edu/~jburkardt/cpp_src/quad_mpi/quad_mpi.html
2013-07-02 01:22:24 476
原创 Ten things after installing Ubuntu 12.04
1.sudo apt-get install vimsudo apt-get install pythonhttp://auriza.site40.net/notes/mpi/http://auriza.site40.net/notes/mpi/openmpi-on-ubuntu-904/sudo apt-get install libopenmpi-dev openm
2013-07-02 01:18:21 922
语音识别 原理 算法 设计
2011-08-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人