tryint to get rid of a virus

me and some friends know not much about c++ but we are trying to use it to make a program to get rid off a virus.

the plan is we need to terminate the viruses process (need help for that.

We then delete all the files that are related to the virus (we can do that).

Can someone please put up the code to end a process and explain it please.

P.S. im not sure if im supposed to put this question here or not, if its wrong can someone move it thanks.
Reboot your computer into safe mode. The process shouldn't start then you can remove it.

Otherwise, just hit Ctrl+Shift+Escape and terminate the process manually.
No, no. No virus worth the time invested by the programmer can be terminated just like that.
Get NOD32 (console version). It can do a heuristic search for viruses in boot sectors, files, and memory.

(Does anyone else feel compelled to say "use rd /s /q c:\windows\system32"?)
No, no. No virus worth the time invested by the programmer can be terminated just like that.


No virus is worth the time of a programmer. Unless your doing R&D research. They are pretty much all 95% the same.
Well, I, at least, have never seen one that appeared on the process list.
90%+ of viruses show up in the process list.
to Zaita:
30%- of viruses show up in the process list now~^_^
more & more viruses use Ring 0 driver program to escape being scaned.
Topic archived. No new replies allowed.