Contents

Views 9388 Comment 0
Atachment
Attachment '1'
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
하나는 조금 더 슬림하게 만든 코드~
변환의 핵심인 공용체 ㅋㅋ

typedef union _info {
    unsigned int msb;
    unsigned char lsb[4];
} code;

void msb2lsb(code *msb, code *lsb){
    lsb->lsb[3] = msb->lsb[0];
    lsb->lsb[2] = msb->lsb[1];
    lsb->lsb[1] = msb->lsb[2];
    lsb->lsb[0] = msb->lsb[3];
}


?

  1. [c] 다중연결 서버 만들기 #2 - select() 사용

    Date2013.04.23 CategoryDevelop Byhooni Views9375
    Read More
  2. [c] 다중연결 서버 만들기 #3 - poll() 사용

    Date2013.04.23 CategoryDevelop Byhooni Views6367
    Read More
  3. [c] 다중연결 서버 만들기 #4 - thread 사용

    Date2013.04.23 CategoryDevelop Byhooni Views23747
    Read More
  4. [c] selec()를 이용한 입출력 다중화

    Date2013.04.23 CategoryDevelop Byhooni Views8270
    Read More
  5. [c] alarm()함수 설명과 간단한 예제

    Date2013.04.23 CategoryDevelop Byhooni Views6703
    Read More
  6. [c] 네트워크 정보 알아보기

    Date2013.04.23 CategoryDevelop Byhooni Views16148
    Read More
  7. [c] 오류체크(CRC 체크 ) 소스

    Date2013.04.23 CategoryDevelop Byhooni Views8141
    Read More
  8. [c] 오목.. 간단한 소스 ㅋㅋ

    Date2013.04.23 CategoryDevelop Byhooni Views9667
    Read More
  9. [c] vc++ 에서 clrscr(), gotoxy() 함수 사용하기..

    Date2013.04.23 CategoryDevelop Byhooni Views14279
    Read More
  10. [c] 최단거리 알고리즘 & 예제소스..

    Date2013.04.23 CategoryDevelop Byhooni Views10192
    Read More
  11. [c] 격자 직사각형 넓이 구하기

    Date2013.04.23 CategoryDevelop Byhooni Views7474
    Read More
  12. [vc++] 게임 소스 등.. ㅋㅋ

    Date2013.04.23 CategoryDevelop Byhooni Views18388
    Read More
Board Pagination Prev 1 ... 13 14 15 16 17 18 19 20 21 22 ... 71 Next
/ 71