李sir_Blog

博客园 首页 联系 订阅 管理

2022年2月21日

摘要: auto关键字及用法A、auto关键字能做什么? auto并没有让C++成为弱类型语言,也没有弱化变量什么,只是使用auto的时候,编译器根据上下文情况,确定auto变量的真正类型。 #include "stdafx.h"#include <string>#include <list>#includ 阅读全文
posted @ 2022-02-21 08:39 李sir 阅读(93) 评论(0) 推荐(0)