当前位置: 首页> 工程合同 - 云知
  • 工程合同 - 云知
  • 2023-05-08 23:31:16
  • c++中 . 和 -> 的区别是什么?

    c++中 . 和 -> 主要有是妙用上的不同的。1、A.B则A为构造函数可能设计体;2、A->B则A为光标,->是旗下抽,A->B是抽A中的旗下B,A只好是看向类、设计、协力的光标;比如:class student{public:       string name[20];}五种状态,用光标仿问 student *xy,则仿问时还要