Is there any event, for example, in C # "FormClosing", but in C ++, when the Console closes, where can I execute some code before closing the console? (In my case, I would like to create a directory with user login before the console is completely closed).
c ++ windows console
user2699298
source share