Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   programing a virus scanner (http://www.go4expert.com/forums/programing-virus-scanner-t15730/)

shawnkirk23 6Jan2009 10:02

programing a virus scanner
ok so i have a little project programing a virus scanner but here is my problem i cant figuer out what to put so when you hit the scan button it scans all the computer files... any ideas??
Thanks in advance

xpi0t0s 6Jan2009 12:47

Re: programing a virus scanner

system("avg -scan");
Seriously though, isn't that just asking for the complete code of a virus scanner? You'll need to scan the directory structure from the root of each hard drive partition, then for each file open it, read the contents, then check the relevant contents against each virus you know about.

Writing an antivirus program is not a "little project". If you don't even know how to scan directories on a computer then this project is way way way beyond your abilities (c.f 5 minutes with Meccano and now wanting to build a full size replica of the Eiffel Tower); you should give up now and start a project that is more within your capabilities. For more details on the complexities of writing a virus scanner see my previous post in the thread http://www.go4expert.com/showthread.php?t=11493

suseenthiran 7Sep2010 22:39

Re: programing a virus scanner
ya it's very effective

All times are GMT +5.5. The time now is 19:49.