https://github.com/aaaa-source/address-book
the project of implementation address book
https://github.com/aaaa-source/address-book
Last synced: about 1 month ago
JSON representation
the project of implementation address book
- Host: GitHub
- URL: https://github.com/aaaa-source/address-book
- Owner: AAAA-source
- Created: 2024-08-08T07:04:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-19T11:37:51.000Z (over 1 year ago)
- Last Synced: 2025-03-02T21:26:50.401Z (about 1 year ago)
- Language: C
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Address-book
the project of implementation address book
本通訊錄收錄user name(小於100字元) 以及電話(手機)號碼(long long int)範圍內
基本上以C語言實作,為本人之個人專案
二版:新增priority欄位,用以區分我的最愛(1) 及其他(0)
內建基本功能:會創造一個名為“contact_people_information”之文檔,可用一般文字編輯器開啟並修改
一版:創造基本功能:包含新增聯絡人、刪除聯絡人、查找聯絡人、顯示所有聯絡人
新增聯絡人:輸入聯絡人資訊(user name 以及號碼)1,若新增成功會印出Success,否則印出Fialed
顯示所有聯絡人:依序顯示初“contact_people_information”所有聯絡人的資料;有資料的話會印出Success,否則代表檔案內並沒有任何資料.印出 Failed : the file is empty
查找聯絡人:輸入聯絡人的name,顯示所有符合該name的聯絡人並列出
刪除聯絡人:輸入聯絡人的name,會顯示所有符合該name的聯絡人;需選取其中一個聯絡人,接著便會刪除該聯絡人(其他同名的聯絡人放置檔案尾部)
二版:新增加入我的最愛、刪除我的最愛、顯示我的最愛以及初始化的功能
初始化:創造/清空檔案
顯示我的最愛:將所有列入我的最愛的聯絡人列出
新增我的最愛:將特定聯絡人加入我的最愛(把priority改成1)
刪除我的最愛:將特定聯絡人刪除我的最愛(把priority改成0)
關於新增、刪除我的最愛的部分,需要選出特定聯絡人(透過Y/N選擇)
三版:新增模糊化搜尋(fuzzy search)的功能(模糊化的定義為字串誤差2以內)
更新:2024/9/19
修復「移除我的最愛」出錯的問題