学习笔记
godenlove007
这个作者很懒,什么都没留下…
展开
-
学习笔记之MATLAB的MCR初探
MCR,为MATLABCompiler Runtime的简写,在MATLAB帮助文档里如此介绍:“TheMATLAB Compiler Runtime is a standalone set of shared librariesthat enable the execution ofMATLAB files, even on computers withoutan insta原创 2012-05-02 21:40:09 · 11983 阅读 · 0 评论 -
怎么读外文文献
原文转载自:http://blog.sina.com.cn/s/blog_9f4bc8e301016dmo.html,致谢!!(他也许是转载的,也不知道原始作者是谁,总之致谢啦)一.如何进行文献检索我是学自然科学的,平时确实需要不少外文文献,对于自然科学来讲英文文献检索首推Elsevier,Springer等。虽然这些数据库里面文献已经不算少了。但是有时还会碰到查不到的文献,而这些文献转载 2012-12-10 20:51:49 · 1531 阅读 · 0 评论 -
函数模板初步探究2
参考C++ Primer Plus(中文第五版)P246--258关于函数模板的材料,总结如下:结合原书中以下代码分析://程序清单8.13// twoswap.cpp -- specialization overrides a template#include template void Swap(Any &a, Any &b);struct job{ char原创 2012-05-10 12:17:49 · 679 阅读 · 0 评论 -
模板类声明和定义为何要写一起
模板类声明和定义为何要写一起http://www.gois.ws/showfile.asp?id=460:0:0如何组织编写模板程序 发表日期: 1/21/2003 12:28:58 PM 发表人: Nemanja Trifunovic前言常遇到询问使用模板到底是否容易的问题,我的回答是:“模板的使用是容易的,但组织编写却不容易”。看看我们几乎每天都能遇转载 2012-05-09 22:07:48 · 494 阅读 · 0 评论 -
模板函数初步探究1
以下文档转自fire_fuxm_USTC http://www.cnblogs.com/USTC-fuxm/archive/2011/10/18/2216295.html/////////////////////////////////////////////////////////////////////////////////////////////////////////////////转载 2012-05-09 21:50:57 · 542 阅读 · 0 评论 -
文件读写的fpintf与fwrite
fprintf函数用于向打开的文件中写入指定格式的字符串和数字等。VC6.0的MSDN举例如下:#include #include FILE *stream;void main( void ){ int i = 10; double fp = 1.5; char s[] = "this is a string"; char c = '\n'原创 2012-05-08 21:09:58 · 893 阅读 · 0 评论 -
文件读写的文本方式与二进制方式、文本文件与二进制文件之区别
观察以下代码:void main( void ){ char *pFileName = "abcde.txt"; FILE *fid = fopen(pFileName,"w"); int i = 0x45464731;//即十进制的1162233649 fwrite(&i,4,1,fid); fclose(fid);}使用fopen函数读写文件时,默认原创 2012-05-08 21:20:51 · 1005 阅读 · 0 评论 -
关于strlen与sizeof的区别
假设有以下代码:void main( void ){ char ch[20] = "1162233649"; char *pch = "1162233649"; int aa[] = {1,2,3,4,5}; cout<<strlen(ch)<<endl; cout<<sizeof(ch)<<endl; cout<<strlen(pch)<<endl; cout<<si原创 2012-05-08 20:31:43 · 605 阅读 · 0 评论 -
include包含文件查找的顺序
从microsoft网站上找到关于#include Directive (C/C++)的相关问题解释如下:The #include directive tells the preprocessor to treat the contents of a specified file as if those contents had appeared in the source progr原创 2012-05-03 15:43:35 · 4395 阅读 · 1 评论 -
OpenCV的一个配置方法
以下文章转载自:lovefangfanghttp://blog.sina.com.cn/s/blog_6923201d0100zshl.html(1)OpenCV配置方法在Windows环境变量中新建两个环境变量,如下:变量 值OPENCV_LIB C:\OpenCV\libOPENCV_INC C:\OpenCV\include在环境变量为pa转载 2012-05-03 16:30:17 · 4326 阅读 · 0 评论 -
理解预编译头文件
以下文章转载自“老猫编程史”http://hi.baidu.com/gamedot/blog/item/da280b113d251c19b8127b25.html-----------------------------------------------------------------------------------------理解预编译头2009-07-16 1转载 2012-05-02 22:09:15 · 1427 阅读 · 0 评论 -
3 Ways to Become a Better Developer
转载自:http://www.drurly.com/blog/2013/03/20/3-ways-to-become-a-better-developer/,谢谢英文作者啦。另外,开源社区有翻译的版本:http://www.oschina.net/news/39463/3-ways-to-become-a-better-developer?from=20130414。===========转载 2013-04-22 22:14:14 · 661 阅读 · 0 评论