c++

245 阅读1分钟

使用方式

  • 引用
  int a = 1;
  int c = 2;
  int& b = a; // 声明的时候必须定义
  b = c ;// == (a=c),不可重绑定