DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦a21f695d2⟧ TextFile

    Length: 308 (0x134)
    Types: TextFile
    Names: »dec2pe.c«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/psap/dec2pe.c« 
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/psap/dec2pe.c« 

TextFile


# include <stdio.h>

main()
{	
	unsigned int i;
	char buf[1];
	register int result, count;

	while ((result = scanf("%d", &i)) != EOF){
		count++;
		buf[0]=(char) i;
		if (result) write(1, buf, 1);
		else
		{
			fprintf(stderr,"Conversion failed at byte number %d\n", count);
			exit(1);
		}
	}
	exit(0);
}