C++ 变量初始化

方法一:

int iMaxNum = 0;

 

方法二:

int iMaxNum( 0 );

 

方法三:

int iMaxNum{ 0 };

posted @ 2020-02-08 19:49  修齐  阅读(107)  评论(0编辑  收藏  举报