The examples by subject

Name

Location

Short Description

Programming examples

admndemo

examples\odbc\admndemo

ODBC administrator demonstration.

bzip2

examples\bzip2

Compressor utility

bignums

src\bignums

Arbitrary precision arithmetic

bnlib

src\bnlib

Cryptography

c2html

examples\c2html

Converts a C file into formatted html.

console

examples\console

Demonstrates the console API.

cpuid

examples\cpuid

Demonstrates the CPUID intrinsic and shows a full table of CPU features.

excel

examples\callexcel

Calling Excel from C. Displays a chart using COM.

fcopy

examples\winbase\fcopy

Fast copy utility using memory mapped files.

dll

examples\dll

DLL example

exetype

examples\exetype

Prints the type of an executable (windows or console).

gdidemo

examples\gdidemo

GDI API demonstration

hello

examples\hello

Hello world program

htmldlg

examples\htmldlg

Dynamic html from C

iconpro

examples\iconpro

Professional icon displayer.

intrinsic

examples\intrinsic

Demonstrates the intrinsic functions of lcc-win32.

mandel

examples\mandel

Mandelbrot set drawing

mouseinfo

examples\mouseinfo

Tracks mouse movements in a window.

stdlib

examples\stdlib

Demonstrates the usage of the standard C library.

tab2spc

examples\tab2spc

Converts tabulations into spaces.

which

examples\which

Finds where is the location of a program in all the directories in the PATH.

Directx examples

spriteanim

examples\directx\ directx8\spriteanim

Directx application.

getdxversion

examples\directx\dxver

Returns the version of Directx running in the local machine.

egg

examples\directx\egg

Directx application

faces

examples\directx\faces

Directx application

quat

examples\directx\quat

Direct X application

roids

examples\roids

Directx game complete with sound, sprites etc.

scrawl

examples\directx\scrawl

Directx application.

tunnel

examples\directx\tunnel

Directx application

Network programming

ftp

examples\network\ftp

FTP Client

macaddr

examples\network\macaddr

Prints the Ethernet address of the network card.

overlap

examples\network\overlap

Demonstrates the use of AcceptEx() and overlapped I/O to multiplex different client connections in a single-threaded application.

ping

examples\network\ping

The ping utility source code.

wsock

examples\network\wsock

Demonstrate the Windows sockets API.

admndemo

examples\odbc\admndemo

ODBC administrator demonstration.

service

examples\service

Demonstrates how to build an application that runs as a service.

tlist

examples\tasklist

Displays the running task. Here is also a "kill" utility to stop a running process

Windows base services

fcopy

examples\winbase\fcopy

Fast copy utility using memory mapped files.

fiber

examples\winbase\fiber

Creates "fibers", i.e. mini-threads within an application that allows you to do multitasking within one task. Needs windows NT/2000.

filer

examples\winbase\filer

File manager utility.

floppy

examples\winbase\floppy

Floppy formatting.

halftone

examples\winbase\halftone

Lets you change the colors of a bitmap.

monkey

examples\winbase\monkey

Registry API.

perfmon

examples\perfmon

Performance counters demonstration.

plgblt

examples\winbase\plgblt

The PlgBlt function can copy a bit image onto an arbitrary parallelogram.

Applications can use this function to easily rotate or shear bitmaps.

Security

examples\acccesscontrol

Access control list API. Needs windows NT or above.

tty

examples\winbase\tty

Demonstrates usage of the serial port API.

wincapture

examples\wincapture

Captures the contents of a window or window rectangle.

Windows user interface examples

appbar

examples\winui\appbar

Application bar. Runs only in NT/2000.

clipboard

examples\winui\clipboard

Demonstrates the usage of the clipboard API.

commondialog

examples\winui\commondialog

Demonstrates all common dialogs (print, save as, colors, etc).

fileopen

examples\winui\fileopen

Demonstrates the file open common dialog.

menu

examples\winui\menu

Menus API

rebar

examples\winui\rebar

Demonstrates the usage of the rebar control.

rtfedit

examples\winui\rtfedit

Rich text format (RTF) editor example

switcher

examples\winui\switcher

Creates several desktops or "virtual screens" and lets you switch from one to the other.

The source code for some utilities of the lcc-win32 system

dllwiz

src\dllwiz

Source code of the dll wizard

dolibs

src\dolibs

Source code of the installation libraries utility.

driver

src\driver

Source code of the lc compiler driver.

fdlibm

src\fdlibm

Math library source code.

gc

examples\src\gc

Source code of the garbage collector.

iedit

src\iedit

Source code of the icon editor

lc

src\lc

Compiler driver

ldouble

src\ldouble

long double mathematical functions

make

src\make

Source code of the make utility

mc

src\mc

Message compiler

pedump

src\pedump

Binary file dumper for object files, executables, resources, help files, and other formats.

qfloat

src\qfloat

Quad float numbers with 104 digits precision.

weditreslib

src\weditreslib

Run time library for the code generated by the resource editor

wizard

src\wizard

Source tree of the wizard.

Utilities source code

agrep

src\utilities\agrep

Approximate grep.

crypto

src\utilities\cryptography

Cryptography

errdecode

src\utilities\errdecode

Decoding COM HRESULT codes

guidgen

src\utilities\guidgen

Generates a GUID

jpeg

src\jpeg

JPEG file display.

md5

src\utilities\md5

Calculates the MD5 checksum of a file.

mergeasm

src\utilities\mergeasm

Merges a C file with the assembler output of the compiler.

regexp

src\utilities\regexp

Regular expressions library.

scrnsave

src\utilities\scrnsave

Screen saver library

tcconio

src\tcconio

Software clone of the TurboC conio library.

uudecode

src\utilities\uudecode

UUdecode/uuencode UNIX utility. Converts binary files into ASCII to be transmitted over a 7 bit line.

zlib

src\zlib

Compressor utility

 

The examples by alphabetical order

 

Name

Location

Short Description

aclapi

examples\aclapi

Access control list API. Needs windows NT or above.

admndemo

examples\odbc\admndemo

ODBC administrator demonstration.

agrep

src\utilities\agrep

Approximate grep.

appbar

examples\winui\appbar

Application bar. Runs only in NT/2000.

bignums

src\bignums

Arbitrary precision arithmetic

bnlib

src\bnlib

Cryptography

browsegen

src\browsegen

Source tree of the browse information generator.

buildlib

src\buildlib

Source tree of the buildlib utility

bzip2

examples\bzip2

Compressor utility

c2html

examples\c2html

Converts a C file into formatted html.

clipboard

examples\winui\clipboard

Demonstrates the usage of the clipboard API.

commondialog

examples\winui\commondialog

Demonstrates all common dialogs (print, save as, colors, etc).

console

examples\console

Demonstrates the console API.

cpuid

examples\cpuid

Demonstrates the CPUID intrinsic and shows a full table of CPU features.

crypto

src\utilities\cryptography

Cryptography

dll

examples\dll

DLL example

dllwiz

src\dllwiz

Source code of the dll wizard

dolibs

src\dolibs

Source code of the installation libraries utility.

driver

src\driver

Source code of the lc compiler driver.

dynloader

src\dynloader

Sources for the dynamic loader. Loads an object file into memory during runtime.

egg

examples\directx\egg

Directx application

errdecode

src\utilities\errdecode

Decoding COM HRESULT codes

excel

examples\callexcel

Calling Excel from C. Displays a chart using COM.

exetype

examples\exetype

Prints the type of an executable (windows or console).

faces

examples\directx\faces

Directx application

fdlibm

src\fdlibm

Math library source code.

fcopy

examples\winbase\fcopy

Fast copy utility using memory mapped files.

fiber

examples\winbase\fiber

Creates "fibers", i.e. mini-threads within an application that allows you to do multitasking within one task. Needs windows NT/2000.

fileopen

examples\winui\fileopen

Demonstrates the file open common dialog.

filer

examples\winbase\filer

File manager utility.

floppy

examples\winbase\floppy

Floppy formatting.

ftp

examples\network\ftp

FTP Client

gc

examples\src\gc

Source code of the garbage collector.

gdidemo

examples\gdidemo

GDI API demonstration

getdxversion

examples\directx\dxver

Returns the version of Directx running in the local machine.

guidgen

src\utilities\guidgen

Generates a GUID

halftone

examples\winbase\halftone

Lets you change the colors of a bitmap.

hello

examples\hello

Hello world program

htmldlg

examples\htmldlg

Dynamic html from C

iconpro

examples\iconpro

Professional icon displayer.

iedit

src\iedit

Source code of the icon editor

intrinsic

examples\intrinsic

Demonstrates the intrinsic functions of lcc-win32.

jpeg

src\jpeg

JPEG file display.

lc

src\lc

Compiler driver

ldouble

src\ldouble

long double mathematical functions

macaddr

examples\network\macaddr

Prints the Ethernet address of the network card.

mandel

examples\mandel

Mandelbrot set drawing

make

src\make

Source code of the make utility

mc

src\mc

Message compiler

md5

src\utilities\md5

Calculates the MD5 checksum of a file.

menu

examples\winui\menu

Menus API

mergeasm

src\utilities\mergeasm

Merges a C file with the assembler output of the compiler.

monkey

examples\winbase\monkey

Registry API.

mouseinfo

examples\mouseinfo

Tracks mouse movements in a window.

overlap

examples\network\overlap

Demonstrates the use of AcceptEx() and overlapped I/O to multiplex different client connections in a single-threaded Win32 application.

pedump

src\pedump

Binary file dumper for object files, executables, resources, help files, and other formats.

perfmon

examples\perfmon

Performance counters demonstration.

ping

examples\network\ping

The ping utility source code.

plgblt

examples\winbase\plgblt

The PlgBlt function can copy a bit image onto an arbitrary parallelogram.

Applications can use this function to easily rotate or shear bitmaps.

qfloat

src\qfloat

Quad float numbers with 104 digits precision.

quat

examples\directx\quat

Direct X application

rebar

examples\winui\rebar

Demonstrates the usage of the rebar control.

regexp

src\utilities\regexp

Regular expressions library.

roids

examples\roids

Directx game complete with sound, sprites etc.

rtfedit

examples\winui\rtfedit

Rich text format (RTF) editor example

scrawl

examples\directx\scrawl

Directx application.

scrnsave

src\utilities\scrnsave

Screen saver library

service

examples\service

Demonstrates how to build an application that runs as a service.

spriteanim

examples\directx\ directx8\spriteanim

Directx application.

stdlib

examples\stdlib

Demonstrates the usage of the standard C library.

switcher

examples\winui\switcher

Creates several desktops or "virtual screens" and lets you switch from one to the other.

tab2spc

examples\tab2spc

Converts tabulations into spaces.

tcconio

src\tcconio

Software clone of the TurboC conio library.

tlist

examples\tasklist

Displays the running task. Here is also a "kill" utility to stop a running process

tty

examples\winbase\tty

Demonstrates usage of the serial port API.

tunnel

examples\directx\tunnel

Directx application

uudecode

src\utilities\uudecode

UUdecode/uuencode UNIX utility. Converts binary files into ASCII to be transmitted over a 7 bit line.

weditreslib

weditreslib

Run time library for the code generated by the resource editor

which

examples\which

Finds where is the location of a program in all the directories in the PATH.

wincapture

examples\wincapture

Captures the bitmap of a window or window rectangle.

wizard

src\wizard

Source tree of the wizard.

wsock

examples\network\wsock

Demonstrate the Windows sockets API.

zlib

src\zlib

Compressor utility