在互联网和移动互联网日益发展的今天,越来越多的软件采用了免费的模式。但是在企业应用领域很多的,我们仍然需要使用注册码来保护软件开发者的合法权
使用telnet通过SMTP协议连接163邮件服务器.md
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