摘要: 显示器上显示的图像由成千上万个像素点组成,而计算机必须确定如何处理这些像素点以正确地显示图像。为了完成这项工作,需要一个转换器,用来将源于CPU的二进制数据转换为所见到的图片。如果主板上没有内置图像功能,转换则发生在显卡上。 阅读全文
posted @ 2016-05-29 17:13 long#long 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 三维笛卡尔坐标: pitch是围绕X轴旋转,也叫做俯仰角: yaw是围绕Y轴旋转,也叫偏航角: roll是围绕Z轴旋转,也叫翻滚角: 阅读全文
posted @ 2016-03-01 20:04 long#long 阅读(4856) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-11-18 20:38 long#long 阅读(165) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/hoojo/archive/2011/07/19/2110862.html 阅读全文
posted @ 2015-05-16 08:47 long#long 阅读(158) 评论(0) 推荐(0) 编辑
摘要: http://lucida.me/blog/levels-on-learning-and-using-technologies/ 阅读全文
posted @ 2015-05-14 13:28 long#long 阅读(122) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/hustskyking/p/hosts-modify.html 阅读全文
posted @ 2015-05-14 13:27 long#long 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 刷新dns缓存让你可以得到新的域名解析:# Windowsipconfig /flushdn# Linux/etc/rc.d/init.d/nscd restart || /etc/init.d/nscd restart# Mactype dscacheutil -flushcache || su... 阅读全文
posted @ 2015-05-14 13:25 long#long 阅读(2297) 评论(0) 推荐(0) 编辑
摘要: #include #include int main(int argc, char* argv[]) { int (*array[5])[6]; printf("%d\n", sizeof(array)); // 20 printf("%d\n", sizeof(*ar... 阅读全文
posted @ 2015-05-14 12:36 long#long 阅读(335) 评论(0) 推荐(0) 编辑
摘要: From 剑指Offer 何海涛 著#include using namespace std;int numberOf1(int n) { unsigned int newN = static_cast(n); // 强制将 n 转换为一个无符号数, 避免负数左移, 产生死循环 int ... 阅读全文
posted @ 2015-04-20 19:46 long#long 阅读(238) 评论(0) 推荐(0) 编辑
摘要: From 剑指Offer 何海涛 著#include using namespace std;long long fibonacciRecursively(unsigned int n) { if(n <= 1) { return n; } return fibona... 阅读全文
posted @ 2015-04-20 18:24 long#long 阅读(233) 评论(0) 推荐(0) 编辑