lhb0927 / 2020OSS_miniproject

0 stars 1 forks source link

2020-1 OSS mini project TASKS #3

Open lhb0927 opened 4 years ago

TaeyoungLee10 commented 4 years ago

구조체 정의에서 우선 생각나는 것들은 이런 항목입니다: 메뉴 이름 가격 사이즈 ice/hot

lhb0927 commented 4 years ago

그정도면 충분할거 같네요! 더 생각나는거 있으면 추가하면 될거 같아요.

TaeyoungLee10 commented 4 years ago

아 네넵! 혹시 사이즈도 small, medium, large 이렇게 정의하면 좋을까요?

TaeyoungLee10 commented 4 years ago

예전에 피자 프로그램에서 S/R/P 했던 것 처럼, S/M/L 이런식으로 하는 거 어떤가요?

lhb0927 commented 4 years ago

그렇게 정하면 될거 같아요

TaeyoungLee10 commented 4 years ago

ice/hot은 입력 받을때 ice/hot 이 좋을까요 아니면 사이즈 처럼 한 문자를 사용할까요?

lhb0927 commented 4 years ago

함수는 기본적으로 CRUD (4) 데이터 파일 저장/읽어오기 (2) 검색(이름,가격,사이즈,ice/hot) (4) 이정도면 10개 정도되고 필요하면 더 추가하면 좋을거 같네요

TaeyoungLee10 commented 4 years ago

좋습니다!

lhb0927 commented 4 years ago

ICE/HOT 은 문자 그대로 사용하는 가독성이 좋을거 같습니다.

TaeyoungLee10 commented 4 years ago

알겠습니다, 저희 그러면 역할 분담해서 wiki 에서 정리하면 될까요?

lhb0927 commented 4 years ago

그러면 될거 같네요. 역할은 어떻게 나눌까요?

TaeyoungLee10 commented 4 years ago

한 사람이 구조체 정의한 후 CRUD기능을 구현하고, 다른 사람이 저장, 불러오기, 검색 기능하는 거 어떠세요?

lhb0927 commented 4 years ago

좋아요. 어떤게 편하신가요?

TaeyoungLee10 commented 4 years ago

저는 사실 둘다 괜찮아서, 그러면 제가 첫 부분 해볼까요?

lhb0927 commented 4 years ago

네네 그렇게 해주시면 제가 뒷부분 담당하겠습니다!

TaeyoungLee10 commented 4 years ago

알겠습니다! 그러면 우선 첫 부분 완성한 후 pull request 하겠습니다.

lhb0927 commented 4 years ago

네 :)

TaeyoungLee10 commented 4 years ago

방금 wiki 페이지를 다시 확인해봤는데요, 궁금했던 점이, 제가 main.c 파일을 작성할 때 포인터 배열 형식으로 선언했었거든요, 그래서 혹시 manager.h 파일에 작성해주셨을때 함수 parameter들이 MENU t[ ], 대신에 MENU *t[ ] 이렇게 되어야 하지 않을까요?.... 헷갈려서 질문하게 되었습니다.

int loadData(MENU t[]) 저장된 파일을 불러오는 함수 void saveData(MENU t[],int count) 파일을 저장하는 함수 void searchMenu(MENU t,int count) 원하는 메뉴검색(이름) void searchPrice(MENU t,int count) 원하는 메뉴검색(가격) void searchSize(MENU t,int count) 원하는 메뉴검색(크기) void searchType(MENU t,int count) 원하는 메뉴검색(타입)

lhb0927 commented 4 years ago

말씀하신 부분 수정했습니다. 제가 착오가 있었던 것 같습니다..

TaeyoungLee10 commented 4 years ago

확인해주셔서 감사해요! 제가 포인터 배열로 구현한다는 말씀을 미리 못드려서 죄송합니다 ㅠ

TaeyoungLee10 commented 4 years ago

내일(5/4)까지 학우님의 repository를 소유자 repository로 하고, 그 이후로 혹시 역할 바꿔서 제 repository를 소유자 repository로 사용하고, 학우님 repository를 contributor repository 로 작업해도 괜찮을까요?

lhb0927 commented 4 years ago

학우님 repo중에 2020OSS_mini_project 말씀하시는거 맞으신가요?

TaeyoungLee10 commented 4 years ago

네네 맞아요! 현재 README파일만 업데이트된 상태인것 같더라구요.

lhb0927 commented 4 years ago

네 그럼그렇게 하죠!

TaeyoungLee10 commented 4 years ago

감사합니다 :)