telnet 连接163服务器发送邮件的命令: 使用下面的命令连接到163的服务器。 telnet smtp.163.com 25 下面是控制台的交互数据 其中 S: 之后是接收到来自服务器的数据 C: 之后,
使用using代替typedef.md
Item9 使用 using 代替 typedef 1.类型声明 //Type declication typedef std::unique_ptr<std::unordered_map<std::string,Wiget>> UPtrMapSW_T; using UPtrMapSW_U = std::unique_ptr<std::unordered_map<std::string,Wiget>>; 2.函数声明 typedef void (*FP_T)(int,const std::string&); using FP_U=void(*)(int,const std::string&); 3.标准模板库 template<typename T> using MyAllocList_U = std::list<T>; void UseMyAllocList_U() { MyAllocList_U<Wiget> wList; } template<typename T> struct MyAllocList_T{ typedef std::list<T> type; }; void UseMyAllocList_T() { MyAllocList_T<Wiget>::type wList; } 4. C
树的递归遍历和非递归遍历.md
树的递归遍历和非递归遍历 我们知道树的遍历方式分为深度优先和广度优先,而每种方式又可以采用递归和非递归的方式进行. 递归的好处在于容易理解,但是