일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 |
Tags
- html video
- #C++ 연산자함수오버로딩
- html object
- #C++ has~a
- html multimedia
- #1차원배열
- border-box
- #JAVASCRIPT
- #다차원포인터
- html plug-in
- html charset
- docker example
- html youtube
- #자바상속#자바이즈어#is~a
- html5 new tag
- #2차원배열
- #bubbleSort
- html code
- #성적관리프로그램
- #binary
- #android activity
- git flow
- 토큰경제
- html id
- 하이퍼레저패브릭
- hyperledger transaction
- #3차원배열
- #CallByAddress
- mac terminal command
- relative path
Archives
- Today
- Total
목록#구조체포인터#structurePointer (1)
A sentimental robot
구조체 포인터
1. (*p).kor = 100; 직접연산자 . ( dot ) 주의사항 : .(dot)를 먼저 인식하기 때문에 항상 *가 ( )안에 들어가게! 2. p->kor = 100; 간접 연산자 -> #include #pragma warning (disable:4996) struct score { char name[10]; int kor; int eng; int mat; int total; float avg; }; void main() { struct score aa; struct score *p; // 구조체 포인터 : 구조체를 가르키는 포인터 >구조체의 멤버를 자유롭게 사용할수 있다. p = &aa; printf("name input :..
C
2017. 12. 29. 20:31