欢迎来到我的博客https://www.cnblogs.com/veis/

https://www.cnblogs.com/veis/p/14182037.html

摘要: #pragma once template<typename TYPE, typename ARG_TYPE=const TYPE&> class CArray { TYPE *m_pData; int m_nCount; int m_nSize; public: TYPE & GetAt(int 阅读全文
posted @ 2020-03-17 23:03 veis 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 1 #pragma once 2 // C++环形队列类模板 3 typedef unsigned int uint32_t; // 使用可移植数据类型 4 template<typename DATA> 5 class CQueue 6 { 7 DATA *m_pData; 8 uint32_t 阅读全文
posted @ 2020-03-17 00:11 veis 阅读(398) 评论(0) 推荐(0) 编辑