2023-OSSL-Team-Project / miniProject

0 stars 2 forks source link

๐Ÿ“‹ miniProject

## *iTaxi*

๐Ÿš– ์ฃผ์ œ


๐Ÿš– iTaxi์— ๋Œ€ํ•œ ์†Œ๊ฐœ


๐Ÿš– iTaxi๊ฐ€ ๊ฐ€์ง€๊ณ  ์žˆ๋Š” ๋Œ€๋žต์ ์ธ ๊ธฐ๋Šฅ ์„ค๋ช…

1. ์ž‘์„ฑ์ž ๋ชจ๋“œ


๐Ÿš– iTaxi CRUD

์ฝ”๋“œ ๋ฐ ๊ธฐ๋Šฅ

```c #include #include #include typedef struct{ char depart[20]; // ์ถœ๋ฐœ์ง€ char arrive[20]; // ๋„์ฐฉ์ง€ short int date; // ์ถœ๋ฐœ๋‚ ์งœ (์˜ˆ, 0326) short int time; // ์ถœ๋ฐœ์‹œ๊ฐ„ (์˜ˆ, 1940) short int num; // ๋ชจ์ง‘์ธ์› char type; // ๋ชจ์ง‘์ข…๋ฅ˜(T/C) (T: ํƒ์‹œ, C: ์นดํ’€) short int now_num; // ํ˜„์žฌ ๋ชจ์ง‘๋œ ์ธ์› char memo[100]; // ๋ฉ”๋ชจ short int pw; // ๋น„๋ฐ€๋ฒˆํ˜ธ(4์ž๋ฆฌ ์ˆซ์ž) } Recruit; int createRecruit(Recruit *s, int index); // ๋ชจ์ง‘๊ธ€ ์ž‘์„ฑ void readRecruit(Recruit s); // ๋ชจ์ง‘๊ธ€ ์กฐํšŒ int updateRecruit(Recruit *s, int index); // ๋ชจ์ง‘๊ธ€ ์ˆ˜์ • int deleteRecruit(Recruit *s, int index); // ๋ชจ์ง‘๊ธ€ ์‚ญ์ œ void saveData(Recruit *s, int index); // ํŒŒ์ผ ์ €์žฅ int loadData(Recruit *s); // ํŒŒ์ผ ์ฝ์–ด์˜ค๊ธฐ ``` ```c #include #include #include #include "CRUD.h" int selectMenu_main(); // ๋ฉ”์ธํ™”๋ฉด ๋ฉ”๋‰ด ์„ ํƒ int selectMenu1(); // ์กฐํšŒ ๋ฉ”๋‰ด ์„ ํƒ int selectMenu2(); // ๋ชจ์ง‘ ๋ฉ”๋‰ด ์„ ํƒ int selectDataNo(Recruit *s, int index); // ๋ฐ์ดํ„ฐ ๋ฒˆํ˜ธ ์„ ํƒ void listRecruit(Recruit *s, int index); // ๋ชจ์ง‘ ๋ฆฌ์ŠคํŠธ ์ถœ๋ ฅ int joinRecruit(Recruit *s,int index); // ๋ชจ์ง‘ ์ฐธ์—ฌ int exitjoinRecruit(Recruit *s, int index); // ๋ชจ์ง‘ ์ฐธ์—ฌ ์ทจ์†Œ void searchPlace(Recruit *s, int index); // ์ง€์  ๊ฒ€์ƒ‰ void searchDay(Recruit *s, int index); // ๋‚ ์งœ ๊ฒ€์ƒ‰ void updateMemo(Recruit *sp, int index); // ๋ฉ”๋ชจ ๋‚ด์šฉ ```
## ๐Ÿš– ๊ฐœ๋ฐœํ™˜๊ฒฝ ๋ฐ ์–ธ์–ด ### ๊ฐœ๋ฐœํ™˜๊ฒฝ - git - vs code ### ์‚ฌ์šฉ ์–ธ์–ด - c์–ธ์–ด
## ๐Ÿš– ํŒ€์†Œ๊ฐœ ๋ฐ ํŒ€์›์ด ๋งก์€ ์—ญํ•  ### ํŒ€์› #### ๊น€์˜๋นˆ [hanyoq15 GITHUB LINK](https://github.com/hanyoq15) - ์ „์ฒด์ ์ธ ์ฝ”๋“œ ํ‹€ ์ž‘์„ฑ - ์ง€์ , ๋‚ ์งœ ๊ฒ€์ƒ‰ ํ•จ์ˆ˜ - ๋ฉ”๋‰ด ์„ ํƒ ํ•จ์ˆ˜(main, 1, 2) - ๋ฐ์ดํ„ฐ ๋ฒˆํ˜ธ ์„ ํƒ, ๋ชจ์ง‘ ๋ฆฌ์ŠคํŠธ ์ถœ๋ ฅ ํ•จ์ˆ˜ - ๋ชจ์ง‘ ์ฐธ์—ฌ ์ทจ์†Œ ํ•จ์ˆ˜ - ์ฝ”๋“œ ์ˆ˜์ • - README ํŒŒ์ผ ์ž‘์„ฑ #### ๊น€์ฑ„๋ฆฐ [seizethedaylyn GITHUB LINK](https://github.com/seizethedaylyn) - ์ „์ฒด์ ์ธ ๋””์ž์ธ ์ œ๊ณต - create, read, update ํ•จ์ˆ˜ - ๋ฉ”๋ชจ ์ถ”๊ฐ€ ํ•จ์ˆ˜ - delete ํ•จ์ˆ˜ - ํŒŒ์ผ ์ €์žฅ, ๋ถˆ๋Ÿฌ์˜ค๋Š” ํ•จ์ˆ˜ - ์ฝ”๋“œ ์ˆ˜์ • - wikiํŽ˜์ด์ง€ ์ž‘์„ฑ