摘要: init 新增了列表初始化 //初始化变量 int main() { int x1 = 1; int x2{ 2 }; int array1[]{1, 2, 3, 4, 5}; int array2[5]{ 0 }; int* pa = new int[4]{ 0 }; return 0; } // 阅读全文
posted @ 2023-07-05 16:32 言午丶 阅读(30) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示