本 Wiki 开启了 HTTPS。但由于同 IP 的 Blog 也开启了 HTTPS,因此本站必须要支持 SNI 的浏览器才能浏览。为了兼容一部分浏览器,本站保留了 HTTP 作为兼容。如果您的浏览器支持 SNI,请尽量通过 HTTPS 访问本站,谢谢!
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
cs:programming:cpp:cpp_primer:2_var_n_types [2024/01/15 00:33] – ↷ 链接因页面移动而自动修正 50.16.62.182 | cs:programming:cpp:cpp_primer:2_var_n_types [2024/04/16 11:38] (当前版本) – [指针与 constexpr] codinghare | ||
---|---|---|---|
行 113: | 行 113: | ||
==List 初始化== | ==List 初始化== | ||
- | 其中带 //curly braces// 的初始化形式是新标准, | + | 其中带 //curly braces// 的初始化形式是新标准, |
<code cpp> | <code cpp> | ||
double x = 3.1415926; | double x = 3.1415926; | ||
行 309: | 行 309: | ||
int **ppi = π //&pi is the address of the pointer, not the address which pointer points | int **ppi = π //&pi is the address of the pointer, not the address which pointer points | ||
</ | </ | ||
+ | \\ \\ | ||
+ | {{ : | ||
+ | \\ \\ | ||
- | < | ||
- | <img src="/ | ||
- | </ | ||
- | </ | ||
当然,如果需要通过 '' | 当然,如果需要通过 '' | ||
<code cpp> | <code cpp> | ||
行 561: | 行 560: | ||
'' | '' | ||
<code cpp> | <code cpp> | ||
- | constexpr const int *p = & | + | constexpr const int *p = &i; |
</ | </ | ||
Ref: | Ref: |