473,408 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

how to write antivirus code using c++

how to write antiviirus code using c++

Mar 18 '06 #1
5 31513
TB
pradeep skrev:
how to write antiviirus code using c++


Until you know how antivirus programs work, you
shouldn't even care about choosing a language to
write it in.

--
TB @ SWEDEN
Mar 18 '06 #2
In article <1142673597.067589.293670
@p10g2000cwp.googlegroups.com>, pr************@gmail.com
says...
how to write antiviirus code using c++


Carefully.

Seriously, at least as you've stated it, this doesn't
seem to relate primarily to C++. Once you've decided in
basic algorithms and such, talking here about the details
of how to express them in C++ would be topical, but just
getting a general idea of algorithms generally has little
to do with C++ (or any other specific language).

--
Later,
Jerry.

The universe is a figment of its own imagination.
Mar 20 '06 #3
pradeep wrote:
how to write antiviirus code using c++


int main()
{
MyVirusList mvl = findViruses("OnHardDrives");
int OK = killViruses(mvl);
if (!OK)
{
cout << "Could not kill viruses" << endl;
}
else
{
cout << "Viruses killed." << endl;
}
return 0;
}
Mar 22 '06 #4

Mauler wrote:
pradeep wrote:
how to write antiviirus code using c++


int main()
{
MyVirusList mvl = findViruses("OnHardDrives");
int OK = killViruses(mvl);
if (!OK)
{
cout << "Could not kill viruses" << endl;
}
else
{
cout << "Viruses killed." << endl;
}
return 0;
}


your code behaves like the microsoft ones, showing incorrect messages.

put this for the code work properly:

PathList = userSelectPaths();
MyVirusList mvl = findViruses(PathList);
if( mvl.empty() ) {
cout << "lucky one! you do not have viruses" << endl;
} else {
....

Mar 23 '06 #5
dont write any code .. just charge the company lots of money and when
they finally stop paying go write virus code in c++ for somebody else !

Mar 23 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: RedEagle | last post by:
Hi all, I have the following problem with ASP.NET running on Windows 2003. My configuration is: 1) Windows 2003 Server Standard 2) ASP.NET running in IIS5 Isolation mode (aspnet_wp.exe is alive...
3
by: Mike TI | last post by:
April 14, 2006 Hi all I had posted this msg earlier also. If I send an email through my application (VB.NET 2005) it goes immediately. However if I turn 'Internet Auto Protect' feature ON...
5
by: MichaelK | last post by:
I need to write a log file on server side. I'm using the code below. By some reason it just hanging on and not doing anything. Just the progress bar is moving very very slow and maximum gets to...
10
by: hazahafiz | last post by:
hii.. which one is better to use norton antivirus or AVG? what the advantages and weaknesses both of this? anybody can explain to me??
1
by: rvidal | last post by:
he estado desarrollando un carrito en ASP.NET 2.0,pero he tenido problemas con el control LOGINVIEW el cual me funcionaba, hasta se me ocurrio correr un antivirus desde entonces no he podido usar el...
1
by: rvidal | last post by:
I have been working with LOGINVIEW control in ASP.NET and the it was working right until I ran on my machine an Antivirus,it seemed that the antivirus blocked something on the browser. i.e the...
15
by: jim | last post by:
Maybe I'm missing something, but it doesn't look like Microsoft writes a lot of apps in .Net (although they certainly push it for others). What does MS write using pure .Net? If applications...
3
by: Chris K. | last post by:
Hello, I am writing an application that processes and sends electronic mail using Visual Basic that has no issues as is. However, when running concurrently with an antivirus package...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.