Skip to content

Instantly share code, notes, and snippets.

@codemonkey-uk
codemonkey-uk / TCD.C
Created Dec 31, 2013
TCD is a directory tree browser for DOS PC's, that I wrote as a learning exercise, circa 1994. It was not released at the time, but was used as part of a successful job application. I have made the "TCD" source code public here as a curiosity only. http://thad.frogley.info/portfolio/tcd.html
View TCD.C
/* TCD directory tree program T.Frogley '94 */
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <conio.h>
#include <dir.h>
#include <dos.h>
#include <memory.h>
@codemonkey-uk
codemonkey-uk / IOCCC2001.c
Created Dec 31, 2013
2001 Entry for the IOCCC.
View IOCCC2001.c
/*(c) 2001 Thad */
#include<string.h>
#include <stdio.h>
#define abc stdout
int main(int a,ch\
ar*b){char*c="??="
"??(??/??/??)??'{"
"??!??>??-";while(
!((a=fgetc(stdin))
==EOF))fputc((b=s\
@codemonkey-uk
codemonkey-uk / LANDCAP.PAS
Created Dec 31, 2013
Landcap is a Fractal Landscape Generator for DOS/VGA PC's, that I wrote when I was in college, circa 1993. It was originally released as shareware, and got 1 (one) £10 registration for my efforts. It was reviewed in PC-Format magazine in the same issue as Alta-Vista, which was/is a much better commercial application that does the same thing. At …
View LANDCAP.PAS
Program MakeTrue3DFract;
uses dos,crt;
const
ver : string = '1';
update : string = '1';
Ysize : WORD = 512;
Xsize : WORD = 512;
ColourSet : Char = 'G';