C++ time t = null;
The statement C++ time * t = null; is not valid C++ syntax.
To declare a pointer variable t of type time, you can use the following syntax:
time* t = nullptr;
Here, nullptr is used to initialize the pointer variable t with a null value.
原文地址: http://www.cveoy.top/t/topic/iFko 著作权归作者所有。请勿转载和采集!