C ++中的私有成员和结构函数 [英] Private Member and Function in Structure In C++
本文介绍了C ++中的私有成员和结构函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello Everyone!
i是C ++的新手,请告诉我可以在C ++中声明私有和公共成员和方法结构,如果是,那么请告诉我如何使用结构的私人成员请告诉我示例。
Hello Everyone!
i am new in C++,please tell me can we declare Private And public Member and Method in C++ Structure,if yes so please tell me how can we Use Private Member of Structure please tell me With Example.
推荐答案
看看:
http://stackoverflow.com/questions/15617772/availability-of-私人和受保护的结构 [ ^ ]
http: //www.cplusplus.com/forum/general/77638/ [ ^ ]
希望他们帮助开始
Have a look to:
http://stackoverflow.com/questions/15617772/availability-of-private-and-protected-in-c-structs[^]
http://www.cplusplus.com/forum/general/77638/[^]
Hope they help to start with
谷歌怎么样?
例如C ++私人示例
干杯
Andi
How about Google?
E.g.C++ private example
Cheers
Andi
这篇关于C ++中的私有成员和结构函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文