A variable provides us with named storage that our programs can manipulate. Each variable in C++ has a specific type, which determines the size and layout of the variable's memory; the range of values that can be stored within that memory; and the set of operations that can be applied to the variable. C++ programmers tend to refer to variables as "variables" or as "objects" interchangeably.

变量提供了程序可以操作的有名字的存储区。C++ 中的每一个变量都有特定的类型,该类型决定了变量的内存大小和布局、能够存储于该内存中的值的取值范围以及可应用在该变量上的操作集。C++ 程序员常常把变量称为“变量”或“对象(object)”。

相关文章:

  • 2022-03-08
  • 2022-02-18
  • 2021-07-09
  • 2021-10-17
  • 2021-09-09
  • 2021-09-06
  • 2022-01-14
猜你喜欢
  • 2022-01-08
  • 2022-12-23
  • 2021-08-07
  • 2021-07-14
  • 2022-12-23
  • 2022-12-23
  • 2021-11-01
相关资源
相似解决方案