C
Dynamic Arrays Dynamic Arrays

Create an arbitrarily sized array in a for loop.

Author: eharetea
Date Modified: 12/01/08

Read File Data Read File Data

Using fscanf() to read characters from a file into a multi-dimensional character array.

Author: eharetea
Date Modified: 08/03/08

Struct Struct

Using the struct statement in C.

Author: eharetea
Date Modified: 08/03/08

Character Arrays Character Arrays

String functions in C involving arrays of characters.

Author: eharetea
Date Modified: 08/03/08

Passing arguments Passing arguments

How to pass arguments into a C program with the command line.

Author: eharetea
Date Modified: 08/03/08

Generate  ABC Generate ABC

Generate the open-source ABC format in C for MIDI music.

Author: eharetea
Date Modified: 08/03/08

Multidimensional Arrays Multidimensional Arrays

Using malloc() within Multi-dimensional Arrays in C.

Author: eharetea
Date Modified: 08/03/08

Create RIB Files Create RIB Files

Generation of RIB files with C.

Author: eharetea
Date Modified: 08/03/08

Game of Craps Game of Craps

A simulation of the game craps in C.

Author: eharetea
Date Modified: 08/03/08

Sort Array Sort Array

This program contains functions that sort arrays, and opens and reads files. Written in C.

Author: eharetea
Date Modified: 08/03/08

Comparison Operators Comparison Operators

Comparison operators, <, <=, >, >=, ==, etc.

Author: eharetea
Date Modified: 08/03/08

Random Numbers Random Numbers

Introduction to srand() function in C and having a maximum and minimum specified as a range for random numbers.

Author: eharetea
Date Modified: 08/03/08

Getchar Getchar

Two methods of using getchar() function in C to input characters and echo them to the textport.

Author: eharetea
Date Modified: 08/03/08

Print Stars Print Stars

How to create a modular function in C to print stars.

Author: eharetea
Date Modified: 08/02/08

Scanf inside a function Scanf inside a function

How to use the scanf statement within a function by using pointers.

Author: eharetea
Date Modified: 08/02/08

Add Fractions Add Fractions

Adds two fractions, and reduces them using the modulus function.

Author: eharetea
Date Modified: 08/02/08

Intervals and inversions Intervals and inversions

This code will determine the musical relationship between different notes based on a tonic. Includes inversions.

Author: eharetea
Date Modified: 08/02/08

Music Intervals Music Intervals

Combining programming and music through intervals.

Author: eharetea
Date Modified: 08/02/08

Return Character Array Return Character Array

Returning character arrays from a function in C.

Author: eharetea
Date Modified: 08/02/08

Arpeggio Arpeggio

Generation of arpeggio for .chan output.

Author: eharetea
Date Modified: 08/02/08

Notes in a Scale Notes in a Scale

Mathematically moves any notes into a scale.

Author: eharetea
Date Modified: 08/02/08

Frequency Frequency

Mathematics, music theory, and programming to create a table of the 88 keys of a grand piano.

Author: eharetea
Date Modified: 08/02/08

Count Time Count Time

Enter the number of seconds and return Hours, Minutes, Seconds.

Author: eharetea
Date Modified: 08/02/08

Count Money Count Money

Counting the number of pennies and converting to other change in C.

Author: eharetea
Date Modified: 08/02/08

Piano Frequency Piano Frequency

Mathematically generate all of the frequencies of the 88 keyboard piano.

Author: eharetea
Date Modified: 08/02/08

System Command System Command

The system command in C allows programmers to communicate with the computer's operating system.

Author: eharetea
Date Modified: 08/02/08

Generate New C File Generate New C File

A program that generates a blank C file with the specified filename, then opens the file in a vi editor in the terminal.

Author: eharetea
Date Modified: 08/02/08

Write File Write File

Write data to a file in C.

Author: eharetea
Date Modified: 08/02/08

Concatenate Concatenate

Concatenate two strings in C.

Author: eharetea
Date Modified: 08/02/08

User Input User Input

User input using pointers in C.

Author: eharetea
Date Modified: 08/01/08

User Input User Input

User input using pointers.

Author: eharetea
Date Modified: 07/30/08

User input with Gets User input with Gets

Use gets() to get user input.

Author: eharetea
Date Modified: 07/30/08