472,803 Members | 858 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

how to write antivirus code using c++

how to write antiviirus code using c++

Mar 18 '06 #1
5 31411
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?

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.