self terminating program

Hey guys,

we recently covered file I/O in class and i was wondering if there was a way for a program to delete its self during or after execution?

I'm not sure if this deals with file i/o (I researched and found a self terminating program that used <Windows.h>).

Thanks in advance
Topic archived. No new replies allowed.