How to write a program in C++ such that it will delete itself after execution?

前端 未结 7 1053
醉话见心
醉话见心 2020-12-14 01:35

How to write a program in C++ such that it will delete itself after execution ?

7条回答
  •  庸人自扰
    2020-12-14 02:03

    However there is a way to delete the file by itself after execution because every Uninstaller unistalls the software which was installed by it & also deletes the last remaining file i.e., itself such that no files will be remaining in our Hard Disk except some Registry Entries irrespective of the platform it has been installed.

提交回复
热议问题