Skip to content

Latest commit

 

History

History

C

C - Examples

Program List

Algorithms

  • caesarCipher.c
    • encode or decode from a text file

Data Structures

  • binarySearchTree.c
    • binary search tree implementation
  • linkedList.c
    • linked list implementation with command line interface
  • stack.c
    • stack implementation

Graphics

Language

  • circle.c
    • output points along a unit circle
  • helloWorld.c
    • hello, world!
  • ints.c
    • printout integers and pointers
  • macros.c
    • test macros and system output
  • pointer.c
    • test C pointers

System

  • fileIO.c
    • read from file
  • readInput.c
    • read from command line input

Compiling & Running Code

For Linux, you can use the provided bash script:

e.g. for program: caesarCipher.c

./run caesarCipher

Credit

Leon Tabak for inspiring binarySearchTree.c, stack.c, & macros.c.