摘要: 0. 1. syntax int foo[5]; // an array of int, an empty array int foo[5] = {16, 2, 77, 40, 123}; // an array of int with initilization int* ptr[5]; // a 阅读全文
posted @ 2020-01-27 08:59 心怀阳光 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 0. General speaking static is a keyword in C++, and it can be used in variables, functions, and members of a class. 1. static members of a class stati 阅读全文
posted @ 2020-01-27 08:33 心怀阳光 阅读(113) 评论(0) 推荐(0) 编辑