摘要: 1,下载glew和glfw,camke生成xcode工程文件,编译出.a文件 2, 拖拽glew和glfw各自的头文件+.a文件到工程。 3,运行,此时一直glfw报错 is not a fat file4,百度之上面的错误时生成文件时候选择编译平台不对,arm平台的东西不适用于x86,但是检查工程 阅读全文
posted @ 2017-08-29 14:38 细雨细语 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 1,为了将坐标从一个坐标系变换到另一个坐标系,我们需要用到几个变换矩阵,最重要的几个分别是模型(Model)、观察(View)、投影(Projection)三个矩阵。 Vclip=Mprojection⋅Mview⋅Mmodel⋅Vlocal//colors.vslayout (location = 阅读全文
posted @ 2017-08-04 14:26 细雨细语 阅读(362) 评论(0) 推荐(0) 编辑
摘要: 1, 2,自己重装了xcode,修改原来默认路径 阅读全文
posted @ 2017-07-25 13:38 细雨细语 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 开启IIS本地装个IIS添加MIME扩展名和类型pac文件复制到iis默认根目录下本地pac文件的地址填到局域网自动配置脚本中去。 阅读全文
posted @ 2017-06-06 21:44 细雨细语 阅读(540) 评论(0) 推荐(0) 编辑
摘要: void arrsum(int* arr, int n, int sum, std::vector >& _vecsum) { static std::vector _vec; if (0 == sum) { _vecsum.push_back(_vec); } else if (n > 0 && sum > 0) { ... 阅读全文
posted @ 2017-06-06 01:11 细雨细语 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 返回int,直接mov寄存器eax中的临时变量。直接把double的值放入栈顶指针esp所值处,FSTP将栈顶的数据传送到目标,并进行堆栈的弹出操作临时对象mov给外部对象。2, 阅读全文
posted @ 2017-06-05 16:46 细雨细语 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-06-01 12:36 细雨细语 阅读(80) 评论(0) 推荐(0) 编辑
摘要: a, Handle表示句柄,文件描述符、socket等;b, EventDemultiplexer表示多路分发机制,调用系统提供的多IO路复用,比如select,epoll。程序先将关注的句柄注册到EventDemultiplexer,当有相关事件到来触发EventDemultiplexer通知程序。c, EventHandler定义事件处理方法,d, Reactor是事件管理的接口,注册和销毁事... 阅读全文
posted @ 2017-06-01 02:06 细雨细语 阅读(3331) 评论(0) 推荐(0) 编辑
摘要: root@liuhan888:/home/liuhan168# lsb_release -aNo LSB modules are available.Distributor ID: DebianDescription: Debian GNU/Linux 8.6 (jessie)Release: 8. 阅读全文
posted @ 2017-05-28 13:15 细雨细语 阅读(268) 评论(0) 推荐(0) 编辑
摘要: root@liuhan888:/home/liuhan168/docment/vmtools/vmware-tools-distrib# ./vmware-install.pl In which directory do you want to install the daemon files? [/usr/sbin] vmtools The path "vmtools" is a rela... 阅读全文
posted @ 2017-05-28 11:03 细雨细语 阅读(903) 评论(0) 推荐(0) 编辑