일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- #자바상속#자바이즈어#is~a
- html multimedia
- docker example
- #C++ has~a
- #bubbleSort
- html charset
- #다차원포인터
- html plug-in
- border-box
- html youtube
- #2차원배열
- html object
- html code
- git flow
- #binary
- relative path
- #1차원배열
- hyperledger transaction
- html5 new tag
- 토큰경제
- #android activity
- mac terminal command
- #성적관리프로그램
- #JAVASCRIPT
- #3차원배열
- html id
- #C++ 연산자함수오버로딩
- 하이퍼레저패브릭
- html video
- #CallByAddress
Archives
- Today
- Total
목록#structure array pointer (1)
A sentimental robot
구조체배열 포인터
#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[3]; struct score *p; // 구조체 포인터 선언 p=aa; int i; for(i=0 ; iname); printf("kor input:"); scanf("%d", &(p + i)->kor); printf("eng input:"); scanf("%d", &(p + i)->eng); printf("mat input:"); scanf("%d", &(p + i)->mat); (p + i)->total = (p + i)->kor ..
C
2017. 12. 29. 20:35