资 源 简 介
全局函数使用起来很方便,不需要很多的包含头文件,在每种类中都可以用。可是,他的实现上也要注意一些细节,本实例就是出于这一目的,给出简单事例,教初学者如何使用全局类的方法。 希望对大家有所帮助。 -It is very convenient by using global function because it needn t include many head files and can be used in almost every class.But when you use it you should pay attention on some details,and the example given here will introduce beginners some methods on how to use global class.I hope it will be usefull for you