BASIC4MCU | 질문게시판 | 답변 : c언어 질문
페이지 정보
작성자 master 작성일2018-12-01 07:57 조회6,091회 댓글0건
https://www.basic4mcu.com/bbs/board.php?bo_table=gac&wr_id=6110
본문
// MCU BASIC: https://www.basic4mcu.com// DateTime : 2018-12-01 오전 8:02:34// by Ok-Hyun Park//int check_parity(int *array,int n,int odd_even){ // odd=1, even=0int i,parity=0;for(i=1;i<n;i++)parity^=array[i];parity^=odd_even;return parity;}
패리티 생성은 이렇게하면 되지 않을까요?
댓글 0
조회수 6,091등록된 댓글이 없습니다.