473,397 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

How to write a murder-program in C ???

I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

But, how can I write such a deadly program?

I want to be the meanest mass-murderer of them all and
I don't want to be captured by the cops.

Please help me to achieve my goal and I won't kill you!!!

Nov 30 '06 #1
23 1928
Ed Zagmoon wrote:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

But, how can I write such a deadly program?

I want to be the meanest mass-murderer of them all and
I don't want to be captured by the cops.

Please help me to achieve my goal and I won't kill you!!!
Easy, just keep invoking undefined behaviour. Sooner or later your
"Hamlet" is bound to be realised, though it may not be to your liking.

Nov 30 '06 #2
Anyway, I appreciate your idea.

Nov 30 '06 #3

Ed Zagmoon wrote:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

But, how can I write such a deadly program?

I want to be the meanest mass-murderer of them all and
I don't want to be captured by the cops.

Please help me to achieve my goal and I won't kill you!!!
Sorry, we don't do homework for you.
Please consult the FAQ.

Nov 30 '06 #4
On Nov 30, 10:14 am, "Ed Zagmoon" <spartan_i...@yahoo.comwrote:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

But, how can I write such a deadly program?

I want to be the meanest mass-murderer of them all and
I don't want to be captured by the cops.

Please help me to achieve my goal and I won't kill you!!!
You have posted in the wrong group.
The correct group is as follows:
alt.society.mental-health
(http://groups-beta.google.com/group/...topics?lnk=srg)

Nov 30 '06 #5

Ed Zagmoon wrote:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

But, how can I write such a deadly program?

I want to be the meanest mass-murderer of them all and
I don't want to be captured by the cops.

Please help me to achieve my goal and I won't kill you!!!
You have to use PASM for that.

Nov 30 '06 #6
2006-11-30 <11**********************@l39g2000cwd.googlegroups .com>,
Ed Zagmoon wrote:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.
You might find the information you need in the comp.basilisk FAQ.
Nov 30 '06 #7
2006-11-30 <11**********************@l39g2000cwd.googlegroups .com>,
Ed Zagmoon wrote:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.
You might find the information you need in the comp.basilisk FAQ.

See
http://web.archive.org/web/*/http://...ilisk.faq.html
Nov 30 '06 #8
Ed Zagmoon:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

But, how can I write such a deadly program?

I want to be the meanest mass-murderer of them all and
I don't want to be captured by the cops.

Please help me to achieve my goal and I won't kill you!!!

Here's an excerpt from a Borland compiler manual that might aid you:

7 Hz is the resonant frequency of a

chicken's skull cavity. This was determined

empirically in Australia, where a new factory

generating 7-Hz tones was located too close to a

chicken ranch: When the factory started up, all the

chickens died.

Your PC may not be able to emit a 7-Hz tone.

--

Frederick Gotham
Nov 30 '06 #9
Ed Zagmoon wrote:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

But, how can I write such a deadly program?
The C standard has no provision for creating graphics so
you cannot achieve your goal using standard C. I recommend
asking the same question on a newsgroup which deals with
your platform.

Nov 30 '06 #10
"Ed Zagmoon" <sp**********@yahoo.comwrites:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.
C is the wrong programming language for this task. You want to
write your program in Flash.
--
Ben Pfaff
email: bl*@cs.stanford.edu
web: http://benpfaff.org
Nov 30 '06 #11
>I want to write a program that can kill people in C. Something

Run just about any newbie C program on a DeathStation 9000.
In particular, look for code containing stuff like "void main"
and "fflush(stdin)" and "i = i++ + ++i;".
>that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.
Any decent newsreader for USENET will do that. You'd have much
better luck having the program launch nuclear missiles.
>But, how can I write such a deadly program?
>I want to be the meanest mass-murderer of them all and
I don't want to be captured by the cops.
In that case, I suggest you BECOME a cop.
>Please help me to achieve my goal and I won't kill you!!!
Nov 30 '06 #12
>>>>"BP" == Ben Pfaff <bl*@cs.stanford.eduwrites:

BP"Ed Zagmoon" <sp**********@yahoo.comwrites:
>I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.
BPC is the wrong programming language for this task. You want
BPto write your program in Flash.

Flash, and brain-dead people. Correlation, or causation?

Charlton
--
Charlton Wilbur
cw*****@chromatico.net
Nov 30 '06 #13
[alt.recipes.babies removed for obvious reasons]

Spiros Bousbouras said:
Ed Zagmoon wrote:
>I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

But, how can I write such a deadly program?

The C standard has no provision for creating graphics
That isn't exactly true. I've created (and edited) graphics images (.bmp
format) using clc-conforming C[1]. It is even possible to /display/
graphics using standard C if you're content with text art. :-)

[1] ...by which I mean that it could probably be nit-picked, but not very
much...

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Nov 30 '06 #14
On Thu, 30 Nov 2006 22:08:12 -0000, go***********@burditt.org (Gordon
Burditt) wrote:
>>I want to write a program that can kill people in C. Something

Run just about any newbie C program on a DeathStation 9000.
In particular, look for code containing stuff like "void main"
and "fflush(stdin)" and "i = i++ + ++i;".
>>that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

Any decent newsreader for USENET will do that. You'd have much
better luck having the program launch nuclear missiles.
>>But, how can I write such a deadly program?
>>I want to be the meanest mass-murderer of them all and
I don't want to be captured by the cops.

In that case, I suggest you BECOME a cop.
...or president of US, Israel...
Dec 1 '06 #15
Just DO Simple C programming in WINDOWS OS, u often see (BLUE) flash
screen
and user will do suicide for using it.

Richard Heathfield wrote:
[alt.recipes.babies removed for obvious reasons]

Spiros Bousbouras said:
Ed Zagmoon wrote:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

But, how can I write such a deadly program?
The C standard has no provision for creating graphics

That isn't exactly true. I've created (and edited) graphics images (.bmp
format) using clc-conforming C[1]. It is even possible to /display/
graphics using standard C if you're content with text art. :-)

[1] ...by which I mean that it could probably be nit-picked, but not very
much...

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Dec 1 '06 #16
Just DO Simple C programming in WINDOWS OS, u often see (BLUE) flash
screen
and user will do suicide for using it.

Richard Heathfield wrote:
[alt.recipes.babies removed for obvious reasons]

Spiros Bousbouras said:
Ed Zagmoon wrote:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

But, how can I write such a deadly program?
The C standard has no provision for creating graphics

That isn't exactly true. I've created (and edited) graphics images (.bmp
format) using clc-conforming C[1]. It is even possible to /display/
graphics using standard C if you're content with text art. :-)

[1] ...by which I mean that it could probably be nit-picked, but not very
much...

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Dec 1 '06 #17
Ed Zagmoon wrote:
I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.

But, how can I write such a deadly program?

I want to be the meanest mass-murderer of them all and
I don't want to be captured by the cops.
Pardon my ignorance, but just how do you intend to test it?

bashgcc -o murder murder.c
bash./murder
<BZZZZZZZZZTT>
....
<sound of lifeless body hitting the floor>
Please help me to achieve my goal and I won't kill you!!!
But will you *haunt* me?

goose,
the in-the-struct-able

Dec 1 '06 #18
sunny:
Just DO Simple C programming in WINDOWS OS, u often see (BLUE) flash
screen
and user will do suicide for using it.

It's quite easy to get the blue screen up:

int main(void)
{
*(int*)7492 = 5;
}

You might even say that the behaviour is perfectly well defined on Windows.

--

Frederick Gotham
Dec 1 '06 #19

Frederick Gotham wrote:
>
It's quite easy to get the blue screen up:

int main(void)
{
*(int*)7492 = 5;
}
I may be way off base here, but I doubt that that will produce
a blue-screen-of-death on any nt-based windows (NT, 2k, 2k3, XP).

Unless, of course, there is something remarkable about that particular
address.

goose,

Dec 1 '06 #20
On Fri, 01 Dec 2006 20:11:55 GMT, Frederick Gotham
<fg*******@SPAM.comwrote:
>sunny:
>Just DO Simple C programming in WINDOWS OS, u often see (BLUE) flash
screen
and user will do suicide for using it.


It's quite easy to get the blue screen up:
Wrong.
int main(void)
{
*(int*)7492 = 5;
}

You might even say that the behaviour is perfectly well defined on Windows.
It *is* perfectly well defined. On Windows 95/98/ME/NT/2K/XP/VISTA,
you will not get a blue screen. Instead (at least with Microsoft
VC++), you will get an error message box containing cordially worded
verbage to the effect that the program committed an illegal operation.

With Windows XP, the dialog box contains a button labeled "Send Error
Report" (to Microsoft). I've always wondered what information it would
send and what Microsoft would do with it, for programs like the above.

Best regards
--
jay
Dec 2 '06 #21
In an LSD induced hallucination Ed Zagmoon was jivin' on 29 Nov 2006
21:14:49 -0800 in comp.lang.c.
How to write a murder-program in C ???'s a bad trip! Dig it!
>I want to write a program that can kill people in C. Something
that will display flashing colors or fractal pictures that will
overload the brains of my victims so that they die.
Oh hell! Just use a gun like everyone else.

--

Dig the even newer still, yet more improved, sig!

http://alphalink.com.au/~phaywood/
"Ain't I'm a dog?" - Ronny Self, Ain't I'm a Dog, written by G. Sherry & W. Walker.
I know it's not "technically correct" English; but since when was rock & roll "technically correct"?
Dec 4 '06 #22
jaysome wrote:
<snip>
It's quite easy to get the blue screen up:

Wrong.
int main(void)
{
*(int*)7492 = 5;
}

You might even say that the behaviour is perfectly well defined on Windows.

It *is* perfectly well defined. On Windows 95/98/ME/NT/2K/XP/VISTA,
you will not get a blue screen. Instead (at least with Microsoft
VC++), you will get an error message box containing cordially worded
verbage to the effect that the program committed an illegal operation.
<snip>

Indeed, but this one used to do the trick on all Windows (not sure
about XP and 2003):
#include <stdio.h>
int
main (void)
{
for(int i=1; i<10; i++)
printf("\t\t\b\b\b\b\b\b");
}

--
WYCIWYG - what you C is what you get

Dec 5 '06 #23
On Fri, 01 Dec 2006 23:31:51 -0800, jaysome <ja*****@spamcop.net>
wrote:
On Fri, 01 Dec 2006 20:11:55 GMT, Frederick Gotham
<fg*******@SPAM.comwrote:
*(int*)7492 = 5;
With Windows XP, the dialog box contains a button labeled "Send Error
Report" (to Microsoft). I've always wondered what information it would
Not if disabled or suitably restricted under [Settings /] ControlPanel
/ System (or MyComputer Properties) / Advanced / Error Reporting.
send and what Microsoft would do with it, for programs like the above.
Wouldn't you like to know? <G>

- David.Thompson1 at worldnet.att.net
Dec 18 '06 #24

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Greg Hurlman | last post by:
I've got what I'm sure is a very simple problem. In an ASP page, I am trying to write out 4 fields from a recordset in succession: Response.Write rs("LastName") Response.Write rs("Suffix")...
1
by: techy techno | last post by:
Hii Just wanted to know how can I decorate my texboxes and Listmenu which is called from a JS file using the following code below: document.write("<SELECT NAME='cur2' ONCHANGE='cconv1();'>");...
2
by: Brett Baisley | last post by:
Hello I have a block of html code that I want to run by calling a javascript function to print it. Its basically a table with menu items in it that is the same for many pages, and instead of...
0
by: hari krishna | last post by:
hi all, My requirement is to generate xl reports throu Asp.Net without installing xl on web server computer. i am using Response object and wrtifile method as below. i dont know whether it is...
8
by: Ben | last post by:
Hi all, Just wondering how to write (using document.write) to a table cell. I have table with 3 rows and 3 colums. I want to write from within the Javascript to say third column of a first row....
4
by: Prowler | last post by:
In the application we are currently building, we need to write positioning code on-the-fly, based upon the screen offset of the element in the AS/400 application which drives the Web app. The 400,...
11
by: Vmusic | last post by:
Hi, I am trying to write out an array of string variables to Notepad. I can't get SendKeys to accept the string variable only literal quoted strings. I DO NOT want the hassle of writing to a...
4
by: cbtechlists | last post by:
I have an ASP app that we've moved from a Windows 2000 to a Windows 2003 server (sql server 2000 to sql server 2005). The job runs fine on the old servers. Part of the app takes a recordset and...
0
by: kuguy | last post by:
Hi all, I'm new to the forums, so I hope this isn't in the wrong place... I have that "Software caused connection abort: socket write error" exception error that i've never meet before. ...
0
by: JeffP | last post by:
Went looking there and it isn't there? Did a search of the registry and not there? "lyle" <lyle.fairfield@gmail.comwrote in message...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.