Skip to content

Author: limbo

C++ Review

  1. int i=0;
    int i={0};
    int i{0};
    int i(0);
  2. 函数之内初始化为0,函数之外为未定义
  3. std::cout, cin, cerr, clog
  4. extern int i;不能初始化,常量extern可以用表达式 extern con……………………………….

Continue reading C++ Review