🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Thomas Huppertz Thu, 02 Jan 1992 01:02
Neujahrsgruss in 'C' (-moll ?)
#201
Author: Thomas Huppertz
Date: Thu, 02 Jan 1992 01:02
67 lines
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) =========
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads