A Conversation for COBOL - the Programming Language

"Shoot yourself in the foot."

Post 1


Shouldn't the C example look more like:

#include "gun.h"

void main (void)
int foot = 2;
int *yourself = &you;

shoot (yourself, foot);

Just a question, that's all...

"Shoot yourself in the foot."

Post 2

SchrEck Inc.

Aahh, an ANSI C programmer. Nice program. smiley - winkeye

"Shoot yourself in the foot."

Post 3


Thanks! smiley - smiley

"Shoot yourself in the foot."

Post 4


And you use vertical alignment of braces rather than the absurd "One True Brace Style" which I would like to introduce stoning for - in the sense of small rocks not resinous aromatic recreational substances of varying legality - except on the grounds that it's too humane.

Key: Complain about this post

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more