Hình như bạn ko hiểu ý mình thì phải 
Cái properties bạn nói nó chỉ là cách bao đóng thuộc tính của đối tượng, cái này thuộc về thiết kế hướng đối tượng, thể hiện tính bao đóng, bạn cứ đòi phải get;set; mới là properties
Bạn NguyenCa có nói rồi
A property is a member that provides a flexible mechanism to read, write, or compute the value of a private field. Properties can be used as if they are public data members, but they are actually special methods called accessors
Properties thực chất là 1 phương thức đặc biệt, C++ là 1 ngôn ngữ hướng đối tượng, nên việc sử dụng properties là được, cái này là về THIẾT KẾ HƯỚNG ĐỐI TƯỢNG
Programming languages that support properties include ActionScript 3, C#, D, Delphi/Free Pascal, eC, F#, Kotlin, JavaScript, Objective-C 2.0, Python, Scala, Swift, Lua, and Visual Basic. Some object-oriented languages, such as Java, don’t support properties, and require the programmer to define a pair of accessor and mutator methods instead. Oberon-2 provides an alternative mechanism using object variable visibility flags. Other languages designed for the Java Virtual Machine, such as Groovy, do natively support properties. While C++ doesn’t have first class properties, they can be emulated due to operator overloading. Also note that some C++ compilers support first class properties (the Microsoft C++ compiler as an example).
Cái này bạn đưa ra cho mình, Câu này nó nói C++ ko hỗ trợ nhưng có thể mô phỏng, giống như mình nói bên C# thì có get;set; còn bên C++ thì mình tạo hàm get;set; thế có gì sai sao bạn
Bạn nói properties ko thể sự dụng thay method
Vậy cho mình hỏi viết 1 hàm kiểm trả dữ liệu bên trong mình sử dụng properties đc ko, 1 hàm trả về 1 giá trị nhất định thì mình sài properties được ko, 1 hàm tính tổng số các thuộc tính có giả trị khác null mình sử dụng properties đc ko 