- 博客(6)
- 资源 (10)
- 收藏
- 关注
原创 浮点数值转十六进制字符串
字符串(无论什么进制)浮点数值很简单,但反过来,浮点值转十六进制字符串,C中没有现成方法,只能根据IEEE浮点标准自行编程。 matlab倒是有现成接口: num2hex(single(value)) num2hex(double(value))
2017-06-29 17:33:18 3424
原创 Unity中的C#与C++交互
参考:Unity Manual-Low-level Native Plugin Interface源码demo 演示了一个渲染三角形的例子 C++部分代码实现了对底层API的封装以及核心功能实现。RenderingPlugin.cpp中定义了C++的接口。其中定义了一系列全局变量,用户通过接口函数对这些全局变量赋值。如: 设定纹理// -----------------------------
2017-06-28 16:05:08 4758
原创 GTX1060 vs tesla m6
分别用于不同邻域,没有什么可比性。这里为了比较pascal和maxwell的差别。A:tesla m6官方说明B:GTX1060官方说明 指标 GTX 1060 (6G) TESLA M6 gpu clocks (MHz) 1506/1708 950/1051 cuda cores 1280 1536 memory clocks(MHz) 8108 23
2017-06-26 10:20:34 2125
原创 【qt错误】This application failed to start because it could not find or load
This application failed to start because it could not find or load the Qt platform plugin “windows”.解决方法: 将QT的bin目录下的\platforms\qwindows.dll拷贝至exe所在目录,注意保留\platforms子目录
2017-06-12 18:10:08 15631 6
原创 【QT】判断鼠标按键
代表按键类型的枚举变量 enum Qt::MouseButton获取按键类型的方法:Qt::MouseButton QMouseEvent::button() constReturns the button that caused the event.Note that the returned value is always Qt::NoButton for mouse move events.
2017-06-05 11:15:08 5512
原创 vs折叠快捷键
Ctrl + M + O: 折叠所有方法Ctrl + M + M: 折叠或者展开当前方法Ctrl + M + L: 展开所有方法
2017-06-02 09:18:46 7804
VS2010运行库(包括mfc)
2016-09-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人