main函数之间的代码操作

全局对象的构造函数会在main函数之前执行。

原文地址:https://www.cnblogs.com/yingl/p/5817123.html