Simon 's Blog
» 做笔记做笔记
Toggle navigation
Simon 's Blog
HOME
总裁介绍
coper
zongcai
what
ARCH
TAGS
navigation
<>
亲手编写的Mesher网格编辑器
2021-03-08 23:06:45
58
0
0
what is coper paster warner bomber caller???
2020-12-03 11:18:20
984
0
0
# 1.架构设计  # 2.技术实现 ```C++ while(true) { if(test(it)) { try { call(it) to bomb;
Conflux
2020-09-02 15:04:55
1089
0
0
# FC币和CFX币 FC币:是bounty币(moondex交易所上线),主网正式上线,fc会按一定比例转换到cfx币(1:x)。 CFX币:conflux挖矿挖到的币(未上市,在测试中,挖到的会清零)。 所以目前挖矿挖的是cfx,由于cfx会清理,所以社区给了测试用户奖励,奖励的币是fc。 # 教程地址 [挖矿教程](https://juejin.im/post/68449038735517
半边数据结构
2020-07-13 16:38:03
207
0
0
# 出半边(OutgoingHalfedge) 出半边必为边界半边。 # 顶点(Vertex) 包含顶点坐标,出半边(OutgoingHalfedge)的索引。 # 半边(HalfEdge) 包含起始点(StartVertex)、邻接面(AdjacentFace)、下一条半边(NextHalfedge)、上一条半边(PrevHalfedge)的索引。 # 面片(Face) 包含一条起始边(
qt5.14+ moc bug(handle include directives in enums)
2020-06-19 17:07:01
567
0
0
[TOC] # 问题1 ``` The moc process failed to compile "SRC:/..............." into "Src:/................................." command -------- path/to/path ``` # 问题2 ``` tbb/tbb_prof
IDEA RUST插件
2020-06-19 11:38:32
530
0
0
https://plugins.jetbrains.com/plugins/nightly/8182
无锁环形队列
2020-06-18 15:07:13
439
0
0
今天通过打印头和尾的值来看里面的规律,数学不好真看不懂下面的意思 int size = (m_nTail - m_nHead + MAX_LEN) % MAX_LEN; int size = (m_nHead - m_nTail + MAX_LEN - 1) % MAX_LEN; 但通过打印头和尾的值能发现其中的规律 队列为空:当头和尾的值相等时表示队列是空的 队列为满:当头和尾相差为
C++编程探讨之指针
2020-06-16 09:40:31
485
0
0
来自 [方舟编译器文档](https://gitee.com/harmonyos/OpenArkCompiler/blob/master/doc/cn/CPPCodingTalkAboutPointer.md#) ---------------- [TOC] # 背景 `C/C++`中指针的使用具有极大的灵活性,伴随着的是更多的安全风险,同时这也对程序员提出了更高的要求。本文将讨论裸指针在
webstorm使用package.json
2020-05-21 09:26:29
424
0
0

windows10激活方法
2020-03-18 11:06:09
430
0
0
# win10 1903专业版 ```Shell slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX slmgr /skms kms.03k.org slmgr /ato ``` # win10 1903企业版用户 ```Shell slmgr /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43 slmgr /skms kms.03k.org slm
C/C++中的const int *a与int *const a,const int *const a
? C/C++ ?
2019-12-03 14:00:00
491
0
0
[TOC] ----------- 【参考链接】[const int *a与int *const a,const int *const a的区别](https://blog.csdn.net/zhangheng837964767/article/details/33783511) ----------- 关键问题点:const属于修饰符,关键是看const修饰的位置在那里 # 1.`con
fillet
2019-12-02 14:25:33
578
0
0
```C++ int SketchObject::fillet(int GeoId1, int GeoId2, const Base::Vector3d& refPnt1, const Base::Vector3d& refPnt2, double radius, bool trim) {
QT跨平台
2019-11-14 17:57:00
457
0
0
[TOC] # 判断Debug还是Realease ```C++ #ifdef QT_NO_DEBUG qDebug() #endif #ifndef QSYSTEMDETECTION_H #define QSYSTEMDETECTION_H /* The operating system, must be one of: (Q_OS_x) DARWIN - An
c++11/14实现的对象池
? 对象池 ?
? 池技术 ?
2019-08-15 01:11:28
783
0
0
[TOC] # 源码实现 ``` #ifndef OBJECT_POOL_HPP #define OBJECT_POOL_HPP // Author:Simon // Email :476941913@qq.com #include #include #include namespace pool { class noncopyable { protected: n
c++11/14实现的线程池
? 线程池 ?
? 池技术 ?
2019-08-13 14:53:29
1202
0
0
[TOC] 网上看到一个短小精悍的线程池,以下代码参考自[GitHub](https://github.com/progschj/ThreadPool) # 实现原理 一个线程队列,一个工作队列,每次取一个工作任务分配给一个线程去执行,循环到所以任务工作完成。 - 一个线程pool,一个任务队列tasks; - 任务队列是 `生产者-消费者`模式,所以需要`mutex`+`conditi
Prev
2/17
Next