Article View: dnet.witze
Article #201Neujahrsgruss in 'C' (-moll ?)
From: Thomas Huppertz
Date: Thu, 02 Jan 1992 01:02
Date: Thu, 02 Jan 1992 01:02
67 lines
2372 bytes
2372 bytes
Zum neuen Jahr kommt hier ein anstaendiges C-Programm.
Es handelt sich um sauberen (ansi) C-Code !!! :-)
==============================================================================
Programm bla.c
==============================================================================
#include "bla.h"
_9999
_0001
_0100 _0201 _0003
_0101 _0202[255] _0003
_0201 _0008 _0403 _0003
_0302 _0004 _0202 _0007 _0401 _0005 _0003
_0303 _0004 _0202 _0007 _0406 _0005 _0003
_0301 _0004 _0402 _0007
_0202 _0007 _0404 _0007 _0403 _0007 _0405 _0005 _0003
_0002
...
...und hier der notwendige Include-File
==============================================================================
Include-File: bla.h
==============================================================================
#include <stdio.h>
#include <string.h>
#define _0100 int
#define _0101 char
#define _0201 x
#define _0202 y
#define _0001 {
#define _0002 }
#define _0003 ;
#define _0004 (
#define _0005 )
#define _0006 "
#define _0007 ,
#define _0008 =
#define _9999 main()
#define _0301 printf
#define _0302 strcpy
#define _0303 strcat
#define _0401 "hello "
#define _0404 "Ein frohes und erfolgreiches Jahr: "
#define _0406 "world ... \n"
#define _0405 '\n'
#define _0402 "%s%s%x%c"
#define _0403 1992
Information:
Compiliert auf ISC 2.2.1 mit 'cc' oder 'gcc' problemlos ...
--
==================== Gruss: === Thomas === Huppertz ========================
HUPPERTZ EDV-Beratung, Thererstr. 10, 8083 Mammendorf, Germany
Tel. ++49-8145-1569, Fax. ++49-8145-8286
====== EMail:=== thu@huedv.sta.sub.org === (oder: huppertz@guug.de) =========
Technical Details
Message-ID:
<2598@huedv.sta.sub.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!unido!altger!stasys!huedv!thuShow Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII-7-bit X-Google-Thread: 107230,c299d01c5be603ab,start X-Google-Attributes: gid107230,public X-Google-Thread: 10d2e7,c299d01c5be603ab,start X-Google-Attributes: gid10d2e7,public X-Google-ArrivalTime: 1992-01-02 13:01:05 PST Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!unido!altger!stasys!huedv!thu From: thu@huedv.sta.sub.org (Thomas Huppertz) Newsgroups: dnet.witze,sub.jokes Subject: Neujahrsgruss in 'C' (-moll ?) Message-ID: <2598@huedv.sta.sub.org> Date: 2 Jan 92 01:02:19 GMT Reply-To: thu@huedv.sta.sub.org Followup-To: dnet.witze Organization: HUPPERTZ EDV-Beratung, Thererstr. 10, 8083 Mammendorf, Germany Lines: 67