浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年7月14日

摘要: assert - C++ Referenceassert<cassert>void assert (int expression);Evaluate assertionIf the argument expression of this macro with functional form compares equal to zero (i.e., the expression is false)... 阅读全文
posted @ 2012-07-14 21:07 lexus 阅读(305) 评论(0) 推荐(0)

摘要: One minute tutorial - Boost 1.41.0One minute tutorial What is a bimap?A Bimap is a data structure that represents bidirectional relations between elements of two collections. The container is designed... 阅读全文
posted @ 2012-07-14 20:04 lexus 阅读(215) 评论(0) 推荐(0)

摘要: boost bimap 学习笔记 - 胜者,为王!!! - 博客频道 - CSDN.NET boost bimap 学习笔记 分类: boost 2012-02-24 14:50 79人阅读 评论(0) 收藏 举报bimap是boost中很重要的一个容器,可以进行双向的查找和替换,这样弥补了如果map和multimap需要找到data所对应的键值。循环遍历元素,才能找到相应的键值,再删除,最后... 阅读全文
posted @ 2012-07-14 17:38 lexus 阅读(509) 评论(0) 推荐(0)

摘要: Emacs 中文化指南Emacs 中文化指南Jerry 最后更新时间: 2004年3月21日本文件仅收集我个人在使用Emacs中的一些经验和技巧, 本文可以随意转载, 无需通知作者, 本文最新文档可以从http://zhdotemacs.sourceforge.net上获得, E-mail: unidevel@yahoo.com.cn. 不定期更新 如有错误, 敬请指出, E-mail: unid... 阅读全文
posted @ 2012-07-14 17:05 lexus 阅读(404) 评论(0) 推荐(0)

摘要: Makefile学习笔记 - 我的CPP之路 - C++博客Makefile学习笔记Makefile学习笔记先列出一个很简单的Makefile例子:---------hd.cpp#include "hd.h"using namespace std;int main() { cout << "hello, didier!1\n";}---------hd.h#include <iostream>--... 阅读全文
posted @ 2012-07-14 16:16 lexus 阅读(519) 评论(0) 推荐(0)

摘要: A garbage collector for C and C++A garbage collector for C and C++Where to get the collector Platforms Scalable multiprocessor versions Some collector details Further reading Current users Local links... 阅读全文
posted @ 2012-07-14 15:37 lexus 阅读(606) 评论(0) 推荐(0)

摘要: WCHAR我不再惧怕了 - 随感而发 - C++博客WCHAR我不再惧怕了宽字符已经困扰我很久了,以前我都是设置项目的属性把它改为多字节,不用UNICODE。不过现在又遇到宽字节的问题,没有办法,只有硬着头皮学学:我找到的资料:http://hi.baidu.com/shongbee2/blog/item/207925546b6cdd5fd10906e0.htmlhttp://hi.baidu.c... 阅读全文
posted @ 2012-07-14 11:36 lexus 阅读(385) 评论(0) 推荐(0)

摘要: [转]宽字符的介绍2009-04-28 10:51转自:http://dev.csdn.net/article/77757.shtm2.2 宽字符和C宽字符不一定是Unicode。Unicode是宽字符集的一种。然而,因为本书的焦点是Windows而不是C执行的理论,所以书中把宽字符和Unicode作为同义语。2.2.1 char数据类型(1)下面的语句定义并初始化了一个只包含一个字符的变量:ch... 阅读全文
posted @ 2012-07-14 11:34 lexus 阅读(388) 评论(0) 推荐(0)

摘要: Using the C/C++ Garbage Collection Library, libgcJava SEJava EEJava MESolarisSun Studio Compilers & ToolsWeb ServicesJava CardSee All »DownloadsEarly AccessJava SEJava EEJava MEJavaFXSolarisNetBeansSu... 阅读全文
posted @ 2012-07-14 09:24 lexus 阅读(665) 评论(0) 推荐(0)

摘要: 为指针动态分配内存 | C语言教程 | C语言系列教程四、对动态内存的错误观念有人对某一只在函数内使用的指针动态分配了内存,用完后不释放。其理由是:函数运行结束后,函数内的所有变量全部消亡。这是错误的。动态分配的内存是在“堆”里定义,并不随函数结束而消亡。有人对某动态分配了内存的指针,用完后直接设置为NULL。其理由是:已经为NULL了,这就释放了。这也是错误的。指针可以任意赋值,而内存并没有释放... 阅读全文
posted @ 2012-07-14 09:10 lexus 阅读(374) 评论(0) 推荐(0)

摘要: Adding Unit Tests to a C/C++ ProjectIntroductionNetBeans IDE 6.9 with the C/C++/Fortran plugin supports unit tests in C/C++ projects.You can use the IDE to create, run, debug, and view results of your... 阅读全文
posted @ 2012-07-14 09:01 lexus 阅读(452) 评论(0) 推荐(0)

摘要: CuTest: The Cutest C Unit Testing FrameworkCuTest: C Unit Testing FrameworkOverviewCuTest is a unit testing library for the C language. It can be used to do Extreme Programming and Test-First Developm... 阅读全文
posted @ 2012-07-14 09:01 lexus 阅读(664) 评论(0) 推荐(0)

摘要: qsort函数的用法 - 菜鸟的日志 - 网易博客qsort函数的用法 2011-03-28 16:11:26|分类: 默认分类 |标签: |字号大中小订阅六类qsort排序方法前一段时间做题觉得qsort函数很好用,但有时不太会用比如按结构体一级排序、二级排序、字符串排序等,故通过查资料将其整理一番。以下是其具体分类及用法(若无具体说明是以降序排列):1、对一维数组排序:(Element_ty... 阅读全文
posted @ 2012-07-14 08:23 lexus 阅读(379) 评论(0) 推荐(0)