AlgebraMaster

Modern C++ 创造非凡 . 改变世界

导航

上一页 1 ··· 5 6 7 8 9 10 11 下一页

2017年4月4日 #

QML 从入门到放弃 第二卷

摘要: 第二卷如何更快速的放弃,注重的是C++和QML的交互 <1>记事本。。 (1) 先测试下不在QML创建C++对象,仅仅在main.cpp添加一个属性函数供调用. 注意只使用槽函数来做到。 TextStreamLoader.h #ifndef TEXTSTREAMLOADER_H #define TE 阅读全文

posted @ 2017-04-04 02:06 gearslogy 阅读(3113) 评论(0) 推荐(0) 编辑

2017年3月26日 #

C++ 模式设计

摘要: 只写了MinGw/Linux API部分。所有相关的代码都是参考C++ API C++ 11智能指针参考http://blog.csdn.net/zy19940906/article/details/50470087 <1>Pimpl pointer to the implementation 计算 阅读全文

posted @ 2017-03-26 17:32 gearslogy 阅读(472) 评论(1) 推荐(0) 编辑

2017年3月21日 #

ffmpeg

摘要: 转换格式ffmpeg -i input.mp4 -vcodec h264 output.mp4 ffmpeg -i input.mp4 -vcodec mpeg4 output.mp4 这个支持微信播放 转换ts 合并2 合并frames single image add audio to your 阅读全文

posted @ 2017-03-21 23:54 gearslogy 阅读(609) 评论(0) 推荐(0) 编辑

2017年3月13日 #

VDB R&D

摘要: VDB Data value visualize: 结论从houdini得知. API常用文字: interior:内部 Narrow-band:窄带 background:窄带外 SDF: XY plane Data visualize: { (1)用法:vdb sdf levelset球,采样其 阅读全文

posted @ 2017-03-13 17:26 gearslogy 阅读(2443) 评论(0) 推荐(0) 编辑

2017年3月3日 #

QML 从入门到放弃

摘要: 发现了一个问题: QML: 如果你发现了你的main.cpp是这个就会爆上面错误。 修改为: ..........QML web:直接给跪下了 https://qmlweb.github.io/ <1>Simple: import QtQuick 2.0 Rectangle { id:rootTan 阅读全文

posted @ 2017-03-03 11:15 gearslogy 阅读(40768) 评论(1) 推荐(1) 编辑

2017年2月28日 #

json parse

摘要: https://github.com/nlohmann/json 分界线 <1> 展开json ./out >> test.txt 展开如下。 如何把flat的json转换给当前标准json,并且修改值 输出结果为: 分界线 <2>JSON Array 操作: ./out >> test.txt 分 阅读全文

posted @ 2017-02-28 17:03 gearslogy 阅读(1527) 评论(0) 推荐(0) 编辑

2017年2月13日 #

Effective C++ 笔记

摘要: 无参构造函数如何暴躁的构造. 先来看看标准的raw_memory : 无参数如何暴力构造 阅读全文

posted @ 2017-02-13 23:09 gearslogy 阅读(193) 评论(0) 推荐(0) 编辑

2017年1月2日 #

Samples topic

摘要: Rendering: http://www.cnblogs.com/miloyip/archive/2010/03/29/1698953.html http://www.scratchapixel.com/lessons/3d-basic-rendering/introduction-to-shad 阅读全文

posted @ 2017-01-02 22:20 gearslogy 阅读(293) 评论(0) 推荐(0) 编辑

2016年11月20日 #

C++ 11 snippets , 2

摘要: <1>auto ,initializer_list<T>,auto指向函数指针的简易,和typdef 定义的类型执行函数指针有多复杂。 #include <iostream> #include <initializer_list> #include <string> using namespace 阅读全文

posted @ 2016-11-20 23:16 gearslogy 阅读(350) 评论(0) 推荐(0) 编辑

2016年9月17日 #

C++ 11 snippets , 1

摘要: 1->创建7个Thread,跑个非常大的循环.观察CPU void func(string &name) { for(auto i=0;i<0xFFFFFFFF;i++) { //cout << name << this_thread::get_id() << "running \n"; } } i 阅读全文

posted @ 2016-09-17 21:43 gearslogy 阅读(579) 评论(0) 推荐(0) 编辑

上一页 1 ··· 5 6 7 8 9 10 11 下一页