Codes for my C class