Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 프로그래머스 lv2
- 실생활알고리즘
- 저조도
- Pixel Bit Format
- AppInventer
- image sensor
- 간단한 앱만들어보기
- Digital Slow Shutter
- Patch Cleaner
- 고정비트레이트
- 조건 제어문
- c언어
- camera
- 심도
- CS Mount
- 저장소와 동적메모리
- Depth of Fileld
- 변수
- 과초점거리
- ASCCII
- 카메라
- Zoom Lense
- 이미지센서
- 무게선별자동화
- main 함수 인자 전달
- C Mount
- Gain
- 변수의 초기화와 대입
- 렌즈
- 아이리스
Archives
- Today
- Total
목록Union (1)
카메라 개발자 공부방(SW)
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/cTwdDe/btrimHpvqtw/tAv5gBuriPiKp7Y14mfwvK/img.jpg)
오늘은 union에 대해 공부해볼 시간입니다. union도 struct와 마찬가지로 기존에 있던 data type을 조합해서 새로운 data type을 정의할 수 있는 사용자 정의 data type입니다. union의 정의는 아래와 같이 합니다. union Point { int x; int y; }; #include union Point { int x; int y; }; int main() { union Point point; point.x = 4; point.y = 4; printf("%d %d\n", point.x, point.y); return 0; } // 실행결과 // 4 4 union을 사용해본 예제입니다. 참 간단하죠? struct와 사용하는 같은 것 같아도 차이점은 있습니다. struct의..
Langauge/C
2021. 10. 20. 21:34