C/C++ Code
This page contains links to bits of C source code that I use.
It's here so that I can pick up the code from the web from client sites.
But, you can use it too.
You may have to modify some things for your system.
- defines
Displays the built in definitions for your C compiler.
- errno
A C program that explains the meaning of errno values.
- filetime
A C program that displays file timestamps.
- hex
A C program that displays file contents in hexadecimal.
- sinfo
A program to display system information.
- sizeof
A C program that lists the size of the standard C types.
- skeleton.h
A skeleton C++ header file.
- sysconf
A program to display the system configuration.
- telltime
A C program that converts a long integer into a time string.
You may find the
Makefile useful.
All these files can be found in this
tar file
Use
tar xvf tools.tar
to extract.