随笔分类 - C++基础
C++基础总结和分享
摘要:https://en.cppreference.com/w/cpp/language/operator_precedence The following table lists the precedence and associativity of C++ operators. Operators
阅读全文
posted @ 2021-03-16 13:33
zhangzheng08pku
摘要:宏编译 预处理头 ,经常可以在stdafx.h文件中出现宏定义 #define WIN32_LEAN_AND_MEAN, 具体含义就是当项目中包含#include<windows.h>时去除一些头文件的包含。一个重要的演示 例子就是winsock2.h和windows.h之间有关于_WINSOCKA
阅读全文
posted @ 2021-03-11 08:52
zhangzheng08pku
摘要:1.声明template参数时,前缀关键字class与typename可以互换 2.使用关键字typename标识嵌套从属类型名称;但不得在base class lists或者member initialization list内使用typename
阅读全文
posted @ 2018-03-01 11:45
zhangzheng08pku

浙公网安备 33010602011771号