Various C coding examples
Contents
| 64colors | How to display all 64 EGA colors on VGA,w/Csrc |
| advc11 | Thomas Hanlin's advanced 'C' routines. v.1.1 |
| btoa | 'C' source for binary-to-ascii convert pgm |
| c eval | C source to evaluate mathematical expressions |
| c4window | Window routines for 'C' programs |
| calendah | ANSI C source for calendar calculations |
| cbase102 | C routines for database applications, w/docs |
| cc part 3 | 'C' language functions and programs - 3 of 4 |
| cprimes | Example C prog to find Prime Numbers |
| crc | crc routines |
| csubs | C Subroutines #2 |
| ckernel | Multitasking kernel in C w/ASM & C source |
| bevel | This is a math based bevel algorithm. It's very useful in 3D graphics as well as in 2D. Unlike the smooth effects that you usually see, this will often require meshing and tessalating. |
| cell | The cell format as written by Autodesk, very useful for sprites. It does not have a lot of features, but that's also what makes it especially convenient to use with small scale programs. |
| fire | This is the good old fire algorithm, based on random sparkles, color averaging and palette that looks like colors of fire. |
| parallax | The parallax bars is an effect that at it's time amazed every graphic programmer. It's really not that hard to code. |
| Create sounds | Turbo C routines to create several sounds |
| Comm interrupt routines for COM 1 & 2 | Comm interrupt routines for COM 1 & 2 |
| fft | Fast Fourier Transform pgm w/C source |
| System Date | This shows how to display the system date |
| Compare 2 strings | This shows how to compare 2 strings |
| popup menus | Popup Menus |
| Nested for Statements | Nested for Statements |
| File Encryption | File Encryption |
| Converting a number to words | Converting a number to words |
| Rolling Display | Rolling Display |
| Reading the EXE Header | Reading the EXE Header |
| Interfacing assembly language routines with C | Interfacing assembly language routines with C |
| Pinball Game | Pinball Game |
| An Othello Game | An Othello Game |
| Magic Square | Magic Square |
| The Directory Tree | The Directory Tree |
| A Tryst With Video Memory | A Tryst With Video Memory |
| stack | stack |
| queues | queues |
| Linked Lists | Linked Lists |
| Binary Trees | Binary Trees |
| Sorting a Linked List | Sorting a Linked List |
| Bit Arrays | Bit Arrays |
| Loading Installable Fonts | Loading Installable Fonts |
| Loading Bitmap | Loading Bitmap |
| SVGA Palette Demo | SVGA Palette Demo |
| Interaction With Mouse | Interaction With Mouse |
| Drawing With Mouse | Drawing With Mouse |
| Menus Using Mouse | Menus Using Mouse |
| Pointers And Multidimensional Arrays | Pointers And Multidimensional Arrays |
| Pointers And Structures | Pointers And Structures |
| Pointers And Functions | Pointers And Functions |
| Towers Of Hanoi | Towers Of Hanoi |
| Quick Sort | Quick Sort |
| various sorting examples | various sorting examples |
| Hardware interaction through 'C' | Hardware interaction through 'C' |
| Serial Port Communication | Serial Port Communication |
| LPT Port Interaction | LPT Port Interaction |
| E2PROM Interfacing With A PC | E2PROM Interfacing With A PC |
| play synchronous sound | play synchronous sound |
| asctime example | asctime example |
| Ctime function example | Ctime function example |
| Display the time in C | Display the time in C |
| Strftime example | Strftime example |
| Drives available in Dos | Drives available in Dos |
| What type of disk | What type of disk |
| Fprintf function | Fprintf function |
| read a sector on a floppy disk | read a sector on a floppy disk |
| making sounds with the pc speaker | making sounds with the pc speaker |
| delay 5 seconds using Difftime | delay 5 seconds using Difftime |
| Get the system date | Get the system date |
| read a file | read a file |
| Free disk space in Dos | Free disk space in Dos |
| FAT information | FAT information |