Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

Make money selling software. Check this out here

Hosted clickbank mall. Check this out here




   Misc

   Amazon

   Links

    


C source code examples

 

  C source code examples found on the web. Remember and check out our categorised code section

 

 

64colorsHow to display all 64 EGA colors on VGA,w/Csrc
advc11Thomas Hanlin's advanced 'C' routines. v.1.1
btoa 'C' source for binary-to-ascii convert pgm
c evalC source to evaluate mathematical expressions
c4windowWindow routines for 'C' programs
calendahANSI C source for calendar calculations
cbase102C routines for database applications, w/docs
cc part 3'C' language functions and programs - 3 of 4
cprimesExample C prog to find Prime Numbers
crccrc routines
csubsC Subroutines #2
ckernelMultitasking kernel in C w/ASM & C source
bevelThis 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.
cellThe 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.
fireThis is the good old fire algorithm, based on random sparkles, color averaging and palette that looks like colors of fire.
parallaxThe parallax bars is an effect that at it's time amazed every graphic programmer. It's really not that hard to code.
Create soundsTurbo C routines to create several sounds
Comm interrupt routines for COM 1 & 2Comm interrupt routines for COM 1 & 2
fftFast Fourier Transform pgm w/C source
System DateThis shows how to display the system date
Compare 2 stringsThis shows how to compare 2 strings
popup menusPopup Menus
Nested for StatementsNested for Statements
File EncryptionFile Encryption
Converting a number to wordsConverting a number to words
Rolling DisplayRolling Display
Reading the EXE HeaderReading the EXE Header
Interfacing assembly language routines with CInterfacing assembly language routines with C
Pinball GamePinball Game
An Othello GameAn Othello Game
Magic SquareMagic Square
The Directory TreeThe Directory Tree
A Tryst With Video MemoryA Tryst With Video Memory
stackstack
queuesqueues
Linked ListsLinked Lists
Binary TreesBinary Trees
Sorting a Linked ListSorting a Linked List
Bit ArraysBit Arrays
Loading Installable FontsLoading Installable Fonts
Loading BitmapLoading Bitmap
SVGA Palette DemoSVGA Palette Demo
Interaction With MouseInteraction With Mouse
Drawing With MouseDrawing With Mouse
Menus Using MouseMenus Using Mouse
Pointers And Multidimensional ArraysPointers And Multidimensional Arrays
Pointers And StructuresPointers And Structures
Pointers And FunctionsPointers And Functions
Towers Of HanoiTowers Of Hanoi
Quick SortQuick Sort
various sorting examplesvarious sorting examples
Hardware interaction through 'C'Hardware interaction through 'C'
Serial Port CommunicationSerial Port Communication
LPT Port InteractionLPT Port Interaction
E2PROM Interfacing With A PCE2PROM Interfacing With A PC
play synchronous soundplay synchronous sound
asctime exampleasctime example
Ctime function exampleCtime function example
Display the time in CDisplay the time in C
Strftime exampleStrftime example
Drives available in DosDrives available in Dos
What type of diskWhat type of disk
Fprintf functionFprintf function
read a sector on a floppy diskread a sector on a floppy disk
making sounds with the pc speakermaking sounds with the pc speaker
delay 5 seconds using Difftimedelay 5 seconds using Difftime
Get the system dateGet the system date
read a fileread a file
Free disk space in DosFree disk space in Dos
FAT informationFAT information

 




   Sponsors


   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
check a file exists(php)
underline text in a string(php)
insert a picture into an image control(VB)
create a Microsoft Access database(VB)
Last accessed time of a file(Powershell)
Random XML feeds(PHP)
Neon text(Javascript)
Constants in C(C)

    




Copyright © 2003 by programmershelp.co.uk