C++ Mini Project: A simple C++ Virus code


I’ve seen many ‘viruses’ and ‘trojans’ written in both C and C++, which basically annoy you and scare you into doing something stupid, like formatting your C: drive, deleting windows menu, changing decktop etc.

The reason you don’t see a lot, is because it takes some work, which most of these makers of ‘trojans’ and ‘viruses’ don’t want to put out. Here is simple C++ virus which will show a message “A HA HA.. it’s a simply joke” on computer screen without harming your computer.


Please enter your comment!
Please enter your name here