Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 907 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 907 Bytes

Summary

  • Learn POSIX Thread Programming
  • Realize the software optimizations
  • Code refactoring

Indenting Code

You can use AStyle (Artistic Style) source code indenter to help you auto format your source code. It will for sure not correct all your coding styles but for sure will eliminate most of them. You can download AStyle from this location or install via apt-get:

sudo apt-get install astyle

To format your file you can execute below command:

astyle --style=kr --indent=spaces=4 --indent-switches --suffix=none *.[ch]

Install Git pre-commit hook to check C/C++ source file format

scripts/install-git-hooks

Licensing

phonebook is freely redistributable under the two-clause BSD License. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.