-
Notifications
You must be signed in to change notification settings - Fork 1
learn-cplusplus
huangjunkun/learn-cplusplus
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
你好,我打算在此存放练习C++的程序代码,包括工作时项目开发前期测试性代码。 若你发现其中存在问题,随时联系本人,! 欢迎一起交流,互相学习。 谢谢! --------- 源文件说明: 8. /** ** 源文件: use_multimap4query.cpp ** 1. 使用 std::multimap 结构做记录。添加、删除、测试(验证)记录条目。 ** Just test for these function here. ** 详见代码逻辑。 ** 作者:junkun huang ** 日期:2012-05-05 / */ 7. /** ** 源文件: diff_pointer_convert.cpp ** 1. 测试不同类型指针转化,涉及计算不同成员变量在类型对象不同的偏移地址。 ** 详见代码逻辑。 ** 作者:junkun huang ** 日期:2012-03-25 / */ 6. /** ** 源文件: try_throw_catch_talk.cpp ** 1. 有时try-throw-catch的好处。 ** 2. catch 异常列表顺序问题。 ** 链接: http://huangjunkun.blogspot.com/2012/03/try-throw-catch.html http://huangjunkun.blogspot.com/2012/03/catch.html ** 作者:junkun huang ** 日期:2012-03-19 / */ 5. /** ** 源文件: timer_class.h, timer_class_test.cpp ** 封装WIN定时器操作API,抽象实现timer类型,方便使用。 ** ** 作者:junkun huang ** 日期:2011-06-25 / */ 4. /** ** 源文件: thread_class.h, thrad_class_test.cpp ** 功能描述:封装WIN线程API,抽象实现线程基类thread_base。 ** 方便用于定制具体操作的线程子类。 ** ** 作者:junkun huang ** 日期:2010-12-25 / */ 3. /** ** 文件: c_singe_file.h,c_singe_file_test.cpp ** ** 函数: trim_tstring ** 功能: 裁剪字符串,针对字符串首尾裁剪空格与制表符。 ** 类型: c_single_file ** 功能: 封装CRT基本的文件读写操作。方便使用。 ** 作者:junkun huang ** 日期:2011-07-21 / */ 2. /** ** 源文件:cout_buffer.h, cout_buffer_test.cpp ** 功能描述: ** 类型CCoutBufferT,实现输入输出的缓冲区,先进先出的缓冲区。如: ** [数据输出到缓冲区顺序] -> 1 -> 2 -> 3 | [缓冲区输入到数据顺序] 1 <- 2 <- 3 ** 输入过程中,缓冲区会自动调整缓冲大小。目前仅支持类型unsigned,int,tchar,std::string,还有vector集合。 ** 支持其他或基本类型自定义类型的输入输出,需设计者继续自行扩展。 ** 作者:junkun huang ** 日期:2010-11-25 / */ 1. /** ** 源文件:big_or_little_endian_func.cpp ** 功能描述:提供字节序转化的基本函数,包括判断本机字节序高端或低端功能。 ** ** 包含测试程序。 ** ** 作者:junkun huang ** 日期:2010-11-25 / */ /// e-mail:[email protected]
About
learn-cplusplus
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published