I think the idea is to show the current time, but for this class should use a TIME function of the C + + library. Not sure why the class is using a pointer instead. It makes no sense to me.
Ancient Dragon5,243 Achieved Level 70 Team ColleagueFeatured Poster
localtime() returns a pointer to a tm structure. Then asctime() is called to convert the structure into something human readable, although you could do this yourself if you wanted to.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.