Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 801 Bytes

README.md

File metadata and controls

52 lines (38 loc) · 801 Bytes

Phonebook

A simple phonebook in C. Written for CodeLounge 2016.

Build + Run

Simple

gcc phonebook.c -o phonebook
./phonebook

(On Windows, run phonebook.exe)

With CMake

If you have CMake and GNU Make installed, you can compile with:

cmake -G"Unix Makefiles" .
make

Use

Welcome to the phone book. You can add or lookup contacts. (A/L).
> A
Name    Number:
Police  01189998819991197253
Input another command.
> L
Name desired: > Police
Name:Police     Num:011899988199911
Input another command.
(Ctrl-C)

Todo

  • Add more code comments
  • Skeleton code for people to fill in
  • Quoted names
  • Search for parts of names
  • Export to file
  • Password protection

Contributors

  • Alessio Zakaria (original author)
  • Ross Gardiner