Tuesday 30 October 2012

C++ ျဖင့္ Antivirus codeေရးနည္း

C++ ျဖင့္ Antivirus codeေရးနည္း
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

အမ်ားအားျဖင့္ေတာ့ Antivirus ကုမၸဏီေတြက ထိန္းသိမ္းထားတဲ႔အတြက္ Antivirus sample code ေတြကို Public ကို Release လုပ္ျခင္း မရွိပါဘူး။ ဒါေပမယ့္ C++ ကို အသံုးျပဳျပီး Antivirus code ဘယ္လိုေရးရတယ္ဆိုတာ ကို သိရသေလာက္ နမူနာေလး တင္ေပးလိုက္ပါတယ္။ ေလ့လာၾကည့္ပါ။



int main()
{
PathList = userSelectPaths();
MyVirusList mvl = findViruses(PathList);
if( mvl.empty() )
{
cout << "Could not kill viruses" << endl;
}
else
{
cout << "Viruses killed." << endl;
}
return 0;
}
C++ ျဖင့္ Antivirus codeေရးနည္း xxxxxxxxxxxxxxxxxxxxxxxxxxxxx  အမ်ားအားျဖင့္ေတာ့ Antivirus ကုမၸဏီေတြက ထိန္းသိမ္းထားတဲ႔အတြက္ Antivirus sample code ေတြကို Public ကို Release လုပ္ျခင္း မရွိပါဘူး။ ဒါေပမယ့္ C++ ကို အသံုးျပဳျပီး Antivirus code ဘယ္လိုေရးရတယ္ဆိုတာ ကို သိရသေလာက္ နမူနာေလး တင္ေပးလိုက္ပါတယ္။ ေလ့လာၾကည့္ပါ။    int main() { PathList = userSelectPaths(); MyVirusList mvl = findViruses(PathList); if( mvl.empty() ) { cout << "Could not kill viruses" << endl; } else { cout << "Viruses killed." << endl; } return 0; }

No comments:

Post a Comment

back to top