何时使用指针或变量? [英] When to use pointers or variables ?
本文介绍了何时使用指针或变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello all
何时使用指向变量或对象的指针以及何时直接使用变量和对象?
解决方案
这是一个完整的答案,你可以期待:
http://stackoverflow.com/questions/22146094/why-should-i-use-a-pointer-rather-than-the-object-itself 一> [ ^ ]
Hello all
When to use pointers to variables or objects and when to use variables and objects directly ?
解决方案
This is as complete an answer as you can expect:
http://stackoverflow.com/questions/22146094/why-should-i-use-a-pointer-rather-than-the-object-itself[^]
这篇关于何时使用指针或变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文