10 2014 档案

摘要:(ctype.h)Character handling functionsThis header declares a set of functions to classify and transform individual characters.FunctionsThese functions... 阅读全文
posted @ 2014-10-24 13:36 zyh_think 阅读(183) 评论(0) 推荐(0) 编辑
摘要:C++ 字符串字面值C++ 基本字符串类型C++ 字符串类型 char 和 wchar_tc11 新增了 char16_t 和 char32_t例子: wchat_t title[] = L"char_t"; // w_char string char16_t name[] = u"char... 阅读全文
posted @ 2014-10-23 17:24 zyh_think 阅读(424) 评论(0) 推荐(0) 编辑
摘要:C++ 拼接字符串常量C++允许拼接字符串字面值,即将两个用引号括起的字符串合并为一个。事实上,任何两个由空白(空格,制表符和换行符)分隔的字符串常量都将自动拼接成一个。例子:cout 输出结果“prev string next string” 阅读全文
posted @ 2014-10-23 15:22 zyh_think 阅读(199) 评论(0) 推荐(0) 编辑
摘要:OpenGL中在窗口的大小发生变化的时候会触发resize()函数,这里会传入一个新的宽和高,在resize()函数中我们会设置投影矩阵,在可以使用OpenGL基础函数glFrustum()函数和glu函数gluPerspective()函数。网上介绍两个函数联系比较少,所以自己研究呗。OpenGL... 阅读全文
posted @ 2014-10-23 15:22 zyh_think 阅读(2753) 评论(0) 推荐(0) 编辑
摘要:The conceptCompareis a set of requirements expected by some of the standard library facilities from the user-provided function object types.The return... 阅读全文
posted @ 2014-10-18 00:08 zyh_think 阅读(321) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示