![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C/C++ Tips
jiamin0329
这个作者很懒,什么都没留下…
展开
-
C/C++ Tips - cast
4 cast keywords in C++: const_cast static_cast dynamic_cast reinterpret_cast原创 2020-06-01 00:56:32 · 141 阅读 · 0 评论 -
C++ Tips - Smart Pointer
Smart pointers are defined in std namespace and <memory> header file. auto_ptr - no longer used in C++11 unique_ptr -Allows exactly one owner of the underlying pointer.Can be moved to a new owner, but not copied or shared. shared_ptr -Referenc...原创 2020-05-27 16:04:45 · 207 阅读 · 0 评论 -
C/C++ Tips - typedef
1. char* pa, pb; typedef char* PCHAR; PCHAR pa, pb;原创 2017-04-25 14:10:09 · 144 阅读 · 0 评论