Is the std::atexit function does not work in the MSVC compiler?
I want to run a function with parameters and a return value of void when exiting the program. I use the following code to implement it:
I want to run a function with parameters and a return value of void when exiting the program. I use the following code to implement it: