반응형
#include <stdlib.h>    // qsort 함수가 선언된 헤더 파일


int compare(const void *a, const void *b)    // 오름차순 비교 함수 구현
{
    int num1 = *(int *)a;    // void 포인터를 int 포인터로 변환한 뒤 역참조하여 값을 가져옴
    int num2 = *(int *)b;    // void 포인터를 int 포인터로 변환한 뒤 역참조하여 값을 가져옴

    if (num1 < num2)    // a가 b보다 작을 때는
        return -1;      // -1 반환
    
    if (num1 > num2)    // a가 b보다 클 때는
        return 1;       // 1 반환
    
    return 0;    // a와 b가 같을 때는 0 반환
}

int main()
{
    int numArr[10] = { 8, 4, 2, 5, 3, 7, 10, 1, 6, 9 };    // 정렬되지 않은 배열

    // 정렬할 배열, 요소 개수, 요소 크기, 비교 함수를 넣어줌
    qsort(numArr, sizeof(numArr) / sizeof(int), sizeof(int), compare);

    for (int i = 0; i < 10; i++)
    {
        printf("%d ", numArr[i]);    // 1 2 3 4 5 6 7 8 9 10
    }

    printf("\n");

    return 0;
}



// 내림차순


int compare(const void *a, const void *b)    // 내림차순 비교 함수 구현
{
    int num1 = *(int *)a;    // void 포인터를 int 포인터로 변환한 뒤 역참조하여 값을 가져옴
    int num2 = *(int *)b;    // void 포인터를 int 포인터로 변환한 뒤 역참조하여 값을 가져옴

    if (num1 > num2)    // a가 b보다 클 때는
        return -1;      // -1 반환
    
    if (num1 < num2)    // a가 b보다 작을 때는
        return 1;       // 1 반환
    
    return 0;           // a와 b가 같을 때는 0 반환
}



// 좀더 간단하게 구현 할 경우


int compare(const void *a, const void *b)
{
    return *(int *)a - *(int *)b;    // 오름차순
}
int compare(const void *a, const void *b)
{
    return *(int *)b - *(int *)a;    // 내림차순
}


반응형

'Study > C' 카테고리의 다른 글

Sprintf에 예제와 사용 예  (0) 2019.01.04
itoa, atoi 함수에 대하여  (0) 2019.01.04
C언어 - 자연수의 조합  (0) 2018.09.14
C언어 - 자판기  (0) 2018.09.14
C언어 - 포인터 이해  (0) 2018.09.07
반응형

Sprintf는 stdio.h파일에 선언되어 있다.


sprintf(배열, 서식, 값);

sprintf(배열, 서식, 값1, 값2, ...);

int sprintf(char * const _Buffer, char const * const _Format, ...);

성공하면 만든 문자열의 길이를 반환, 실패하면 음수를 반환


예)

#define _CRT_SECURE_NO_WARNINGS    // sprintf 보안 경고로 인한 컴파일 에러 방지
#include <stdio.h>     // sprintf 함수가 선언된 헤더 파일

int main()
{
    char s1[20];    // 크기가 20인 char형 배열을 선언

    sprintf(s1, "Hello, %s", "world!");    // "Hello, %s"로 서식을 지정하여 s1에 저장

    printf("%s\n", s1);    // Hello, world!: 문자열 s1 출력

    return 0;
}



AVR에서 활용한 예


#include <stdio.h>

static unsigned int value[8] ={0};

int main(){


char str[100]; //buff 생성

int value[8];


sprintf(str,"value1 : %u, value2 : %u\r\n",value[0],value[1]); // int 형 value값을 char형 버퍼에 넣는다.

//\r\n : \n만 쓰니 이상한 값이 나옴. 개행문자.확인 필요함.


}

반응형

'Study > C' 카테고리의 다른 글

Sort 정렬 함수  (0) 2019.01.07
itoa, atoi 함수에 대하여  (0) 2019.01.04
C언어 - 자연수의 조합  (0) 2018.09.14
C언어 - 자판기  (0) 2018.09.14
C언어 - 포인터 이해  (0) 2018.09.07
반응형


해당 함수들은 stdio.h에 위치하며,


avr에서도 사용가능하다.


#include <stdio.h>


1. 문자열을 정수형으로 변환 A to I


int atoi (const char* str);



해당 형변환도 있다.


double atof (const char* str);

long atol (const char* str);

long long atoll (const char* str);


atof는 문자열을 배정도형으로 바꿔주는 함수이며, atol은 문자열을 long 형으로 바꿔주고, atoll은 문자열을 long long 형으로 바꿔줍니다.


2. 정수형을 문자열로 변환.


char * itoa(int val, char * buf, int radix);


파라미터 :


변환할 정수

변환받을 문자열을 저장할 문자열 변수

변환할 진수 (10을 입력하면 10진수, 2를 입력하면 2진수)

반환값 : 변환된 문자열의 주소 (2번째 파라미터인 buf의 주소)


기타 : 비표준함수 (마이크로소프트 VS에서만 이용 가능)


char * ltoa (long val, char * buf, int radix);


long 형을 문자열로 바꿔주는 함수입니다.


ftoa 같은 함수는 존재하지 않습니다.


남들도 잘 쓰지 않는 복잡한 함수를 사용하느니, sprintf가 훨씬 간단하고 단순하므로 sprintf를 사용한다.

반응형

'Study > C' 카테고리의 다른 글

Sort 정렬 함수  (0) 2019.01.07
Sprintf에 예제와 사용 예  (0) 2019.01.04
C언어 - 자연수의 조합  (0) 2018.09.14
C언어 - 자판기  (0) 2018.09.14
C언어 - 포인터 이해  (0) 2018.09.07
반응형

// 어떤 자연수 X의 세 자연수의 합으로 만들어 진다.

오름차순으로 중복 없이 조합되는 수를 출력하여라

 

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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// prob.04.cpp: 콘솔 응용 프로그램의 진입점을 정의합니다.
//
 
#include "stdafx.h"
#include <stdio.h>
 
 
int main()
{
    int count1 = 0int count2 = 1int count3 = 2;
    int num = 0
    int num1[100= { 0 }; int num2[100= { 0 }; int num3[100= { 0 };
    
    printf("입력받을 자연수 N의 개수 : ");
    scanf_s("%d"&num);
    
    int x[100= { 0 };
    for (int i = 0; i < num; i++) {
        printf("\n자연수 X를 입력 해 주세요 : ");
        scanf_s("%d"&x[i]);
    }
 
    for (int i = 0; i < num; i++) {
        printf("\n자연수 X %d : %d",i, x[i]);
    }
    
    for (int l = 0; l < num;l++ ) {
        if (x[l] < 4)printf("\nNULL");
        else {
            for (int i = 1; i < x[l]; i++) {
                count1 = i;
                for (int j = i + 1; j < x[l]; j++) {
                    count2 = j;
                    for (int k = j + 1; k < x[l]; k++) {
                        count3 = k;
                        if ((count1 + count2 + count3) == x[l]) {
                            printf("\ncount1 = %d  ", count1);
                            printf("count2 = %d  ", count2);
                            printf("count3 = %d  ", count3);
                        }
                    }
                }
            }
        }
    }
    return 0;
}
 
 
cs

 

 

 

 

반응형

'Study > C' 카테고리의 다른 글

Sprintf에 예제와 사용 예  (0) 2019.01.04
itoa, atoi 함수에 대하여  (0) 2019.01.04
C언어 - 자판기  (0) 2018.09.14
C언어 - 포인터 이해  (0) 2018.09.07
C언어 - EOF  (0) 2018.09.07
반응형

 

// 자판기

어떤 동전 가격 종류 상관 없이 계산하려 한다.

최적의 해를 구하라

예) 동전종류 50원, 100원, 500원, 1000원

  자판기 600원

 > 500원 1개,100원1개

 

 

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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// jhs0914.cpp: 콘솔 응용 프로그램의 진입점을 정의합니다.
//
 
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
 
int main()
{
    printf("동전의 종류는 몇개 인가요?  : ");
    int cointype = 0;
    scanf_s("%d"&cointype);
    printf("동전의 종류 : %d", cointype);
    int cointypeSave[100= { 0 };
 
 
    for (int i = 0; i < cointype; i++) {
        printf("\n%d번째 동전 가격 : ",i+1);
        scanf_s("%d",&cointypeSave[i]);
    }
 
    for (int i = 0; i < cointype; i++) {
        printf("\n%d번째 동전 : %d",i,cointypeSave[i]);
    }
 
    printf("\n자판기에는 얼마가 들어 있나요?  : ");
    int coinpay = 0;
    scanf_s("%d"&coinpay);
    
    int count[100= { 0 };
    int count1 = 0;
    
 
        for (int i = cointype-1; i >=0; i--) {
            count1 = 0;
            while ((coinpay - cointypeSave[i]) >= 0) {
                coinpay = coinpay - cointypeSave[i];
                count1++;
                count[i] = count1;
            }
            
        }
    for (int i = 0; i < cointype; i++) {
        if (count[i] == 0){}
        else 
            printf("\n %d원 짜리 동전 %d개", cointypeSave[i], count[i]);
    }
 
    
    return 0;
}
 
 
cs

 

 

 

반응형

'Study > C' 카테고리의 다른 글

itoa, atoi 함수에 대하여  (0) 2019.01.04
C언어 - 자연수의 조합  (0) 2018.09.14
C언어 - 포인터 이해  (0) 2018.09.07
C언어 - EOF  (0) 2018.09.07
C언어 - 학생 Table(총점, 평균, 석차)  (0) 2018.09.07
반응형
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// pointer.cpp: 콘솔 응용 프로그램의 진입점을 정의합니다.
//
 
#include "stdafx.h"
void swap(int a, int b) {
    int t;
    t = a; a = b; b = t;
}
void swap_point(int *a, int*b) {
    int t;
    t = *a; *= *b; *= t;
}
// 배열과 포인터 이해
int main()
{
    int A[100= { 5,6,7,8 };
 
    printf("%d\n"*A);
    printf("%d\n"*(A+1));
    printf("%d\n"*+11);
    printf("\n");
    int *p;
    p = A;
    
    printf("%d\n"*p);
    printf("%d\n"*(p+1));
    printf("%d\n"*(p + 2));
    printf("%d\n"*(p + 3));
    printf("%d\n"*(++p));
    printf("\n");
    // & 기호 + 변수 A == > 변수 A 의 위치
    int a = 10
    int *p1 = &a;
    printf("%d\n"*p1);
    printf("%d\n"&a);
 
    //포인터 사용
    int i=50, j=70;
    swap(i, j);
    printf("%d %d\n", i, j);
    swap_point(&i, &j);
    printf("%d %d\n", i, j);
 
    return 0;
}
 
 
cs

 

반응형

'Study > C' 카테고리의 다른 글

C언어 - 자연수의 조합  (0) 2018.09.14
C언어 - 자판기  (0) 2018.09.14
C언어 - EOF  (0) 2018.09.07
C언어 - 학생 Table(총점, 평균, 석차)  (0) 2018.09.07
C언어 - 탐색, 정렬, 순위  (0) 2018.09.07
반응형
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
32
33
34
35
// malloc.cpp: 콘솔 응용 프로그램의 진입점을 정의합니다.
//
 
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
 
int main()
{
    int i = 0;
    char str[255];
    /* // scanf의 경우 스페이스를 구분지어 입력됨.
    while (scanf_s("%d", &i) != EOF) {
        printf("%d가 입력되었습니다.\n", i);
        i++;
    }*/
    /* // gets는 스페이스를 구분 짓지 않음.
    while (gets_s (str) ){
        printf("%s가 입력되었습니다.\n", str);
        i++;
    }*/
    // atoi함수 -> #include <stdlib.h> 에 들어 있음.
    while (gets_s(str)) {
        int j = atoi(str);
        printf("%d 가 입력되었습니다. \n",j);
        //예 ) 계산기 문제 
        // scanf_s("%s", &str);
        // if (strcmp(str,"*")) // strcmp 비교
    }
    
    printf("EOF 입력됨");
    return 0;
}
 
 
cs
반응형

'Study > C' 카테고리의 다른 글

C언어 - 자판기  (0) 2018.09.14
C언어 - 포인터 이해  (0) 2018.09.07
C언어 - 학생 Table(총점, 평균, 석차)  (0) 2018.09.07
C언어 - 탐색, 정렬, 순위  (0) 2018.09.07
C언어 - Stack으로 구현한 자동차 주차장  (0) 2018.09.06
반응형
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// student_table.cpp: 콘솔 응용 프로그램의 진입점을 정의합니다.
//
 
#include "stdafx.h"
 
int score[20][7= { 0 };
int student = 0, i = 0, j = 0;
int student_no = 0;
int rank[20= { 0 };
 
void print_score() {
    int i, j;
    i = j = 0;
    printf("  학번  국어  영어  수학  총점  평균  석차\n");
    for (i = 0; i < student; i++) {
        for (j = 0; j < 7; j++) {
            printf("%6d", score[i][j]);
        }
        printf("\n");
    }
}
int main()
{
    printf("학생 수를 입력 해 주세요 = ");
    scanf_s("%d"&student);
 
    for (int i = 0; i < student; i++) {
        printf("%d번 학생의 학번은 ?", i);
        scanf_s("%d"&(score[i][0]));
            
        printf("%d번 학생의 국어 점수 :", i);
        scanf_s("%d"&(score[i][1]));
 
        printf("%d번 학생의 영어 점수 :", i);
        scanf_s("%d"&(score[i][2]));
 
        printf("%d번 학생의 수학 점수 :", i);
        scanf_s("%d"&(score[i][3]));
    }
    print_score();
    //총점 계산
    for (int i = 0; i < student; i++) {
        for (int j = 1; j <= 3; j++) {
            score[i][4+= score[i][j];
        }
    }
    print_score();
    //평균계산
    for (int i = 0; i < student; i++) {
            score[i][5]=score[i][4/ 3;
    }
    print_score();
    //rank 배열에 입력
    for (int i = 0; i < student; i++) {
        rank[i]=score[i][4];
    }
    //rank 배열 정렬
    for (int i = 0; i < student; i++) {
        for (int j = i + 1; j < student; j++) {
            if (rank[i] < rank[j]) {
                int tmp = rank[i];
                rank[i] = rank[j];
                rank[j] = tmp;
            }
 
        }
    }
    // rank배열 출력
    for (int i = 0; i < student; i++) {
        printf("%d ", rank[i]);
    }
    printf("\n");
    // 석차 배열에 입력
    for (int i = 0; i < student; i++) {
        for (int j = 0; j < student; j++) {
            if (rank[j] == score[i][4])
                score[i][6= j+1;
        }
    }
    print_score();
    return 0;
}
 
 
cs

 

 

 

//석차 구하는 함수

for (int i=0; i<student; i++){

score[i][6] =1; // 초기화

for (int j=0;j<student; j++){

if (score[i][5]<score[j][5]){

score[i][6]++;

}

}

// 이 함수를 쓰는게 좀더 편한 것 같다..

 


 // 학번 순으로 정렬
 for (int i = 0; i < student; i++) {
  for (int j = i + 1; j < student; j++) {
   if (score[i][0] > score[j][0]) {
    for (int k = 0; k < 7; k++) {
     int tmp = score[i][k];
     score[i][k] = score[j][k];
     score[j][k] = tmp;

    }
   }
  }
 }

// 정렬부분 누락 됨 추가 필요.

 

 

반응형

'Study > C' 카테고리의 다른 글

C언어 - 포인터 이해  (0) 2018.09.07
C언어 - EOF  (0) 2018.09.07
C언어 - 탐색, 정렬, 순위  (0) 2018.09.07
C언어 - Stack으로 구현한 자동차 주차장  (0) 2018.09.06
C언어(자료구조) - Stack 구현  (0) 2018.09.06
반응형
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// sort.cpp: 콘솔 응용 프로그램의 진입점을 정의합니다.
//
 
#include "stdafx.h"
 
 
int main()
{
 
    int A[100= { 0 };
    int N = 0;
    int inputNum = 0;
    int findNum = 0;
    int mode = 0;
    int sort_mode = 0;
    int countNum = 0;
 
    while (1) {
        printf("모드를 선택 해 주세요 (1.생성 및 탐색 2.정렬 3. 순위 ) : ");
        scanf_s("%d"&mode);
        if (mode == 1) { // 탐색
            //생성
            printf("몇개의 공간을 만들까요 ? : ");
            scanf_s("%d"&N);
            for (int i = 0; i < N; i++) {
                printf("%d 번째 값을 입력하세요 :", i + 1);
                scanf_s("%d"&inputNum);
                A[i] = inputNum;
            }
            // 배열 출력
            for (int i = 0; i < N; i++) {
                printf("%d ", A[i]);
            }
            printf("\n");
            //탐색
            printf("어떤 숫자를 찾으시겠습니까? :");
            scanf_s("%d"&findNum);
            for (int i = 0; i < N; i++) {
                if (findNum == A[i])
                    printf("%d번째 숫자입니다.\n", i + 1);
            }
        }
 
        else if (mode == 2) { // 정렬
            //디버깅 출력
            for (int i = 0; i < N; i++) {
                printf("%d ", A[i]);
            }
            printf("\n");
            printf("어떻게 정렬 할까요? (1.오름차순 2.내림차순) : ");
            scanf_s("%d"&sort_mode);
            if (sort_mode == 1) {
                // 오름차순 정렬
                for (int i = 0; i < N; i++) {
                    for (int j = i + 1; j < N; j++) {
                        if (A[i] > A[j]) {
                            int tmp = A[i];
                            A[i] = A[j];
                            A[j] = tmp;
                        }
 
                    }
                }
            }
            //내림차순 정렬
            else if (sort_mode == 2) {
                for (int i = 0; i < N; i++) {
                    for (int j = i + 1; j < N; j++) {
                        if (A[i] < A[j]) {
                            int tmp = A[i];
                            A[i] = A[j];
                            A[j] = tmp;
                        }
 
                    }
                }
            }
            // 정렬 후 출력
            for (int i = 0; i < N; i++) {
                printf("%d ", A[i]);
            }
            printf("\n");
        }
        else if (mode == 3) { //순위 책정
            //디버깅 출력
            for (int i = 0; i < N; i++) {
                printf("%d ", A[i]);
            }
            printf("\n");
 
            printf("순위를 찾을 숫자를 입력 해 주세요 : ");
            scanf_s("%d"&countNum);
 
            for (int i = 0; i < N; i++) {
                for (int j = i + 1; j < N; j++) {
                    if (A[i] < A[j]) {
                        int tmp = A[i];
                        A[i] = A[j];
                        A[j] = tmp;
                    }
 
                }
            }
            //디버깅 출력
            for (int i = 0; i < N; i++) {
                printf("%d ", A[i]);
            }
            printf("\n");
            // 순위 출력
            for (int i = 0; i < N; i++) {
                if (countNum == A[i])
                    printf("%d의 순위는 %d위 입니다.", countNum, i+1);
            }
        }
    }
    return 0;
}
 
 
cs

 

 

반응형

'Study > C' 카테고리의 다른 글

C언어 - EOF  (0) 2018.09.07
C언어 - 학생 Table(총점, 평균, 석차)  (0) 2018.09.07
C언어 - Stack으로 구현한 자동차 주차장  (0) 2018.09.06
C언어(자료구조) - Stack 구현  (0) 2018.09.06
C언어 - goto문  (0) 2018.08.29
반응형
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// Prob_01.cpp: 콘솔 응용 프로그램의 진입점을 정의합니다.
//
 
#include "stdafx.h"
int park[100= { 0 };
int way[100= { 0 };
int park_top = 0;
int way_top = 0;
int num = 0;
int num_out = 0;
int mode = 0;
int out_car = 0;
 
int push(int value) {
    park[park_top] = value;
    park_top++;
    way_top--;
    return park_top;
}
int push_way(int value) {
    way[way_top] = value;
    way_top++;
    return way_top;
}
int pop() {
    park_top--;
    way_top++;
    way[way_top] = park[park_top];
    return park[park_top];
}
 
int main()
{
    while (1) {
        printf("동작을 선택하세요 (1. 입차 2.출차 3.주차장 상태보기 ) : ");
        scanf_s("%d"&mode);
        if (mode == 1) {
            printf("1. 자동차 번호를 입력해 주세요 : ");
            scanf_s("%d"&num);
            push(num);
            printf("자동차가 주차되었습니다. 차량번호 : %d \n", park[park_top - 1]);
            way_top = 0;
        }
        else if (mode == 2) {
            printf("2. 출차 할 자동차 번호를 입력 해 주세요 :");
            scanf_s("%d"&num_out);
            for (int i = 0; i < park_top; i++) {
                if (num_out == park[i]) out_car = 1;
            }
            if (out_car == 1) {
                printf("출차 할 차량이 있습니다. 출차를 위해 다른 차량을 출차합니다.\n");
                while (num_out != park[park_top]) {
                    if (num_out == park[park_top]) { park_top--break; }
                    else if (num_out != park[park_top]) {
                        pop();
                    }
                    printf("출차 : %d\n", park[park_top]);
                    printf("막다른길 : ");
                    for (int i = 1; i < way_top; i++) {
                        printf("%d   ", way[i]);
                    }
                    printf("\n주차장 : ");
                    for (int i = 0; i < park_top; i++) {
                        printf("%d  ", park[i]);
                    }
                    printf("\n");
                }
                printf("%d 차량이 출차 되었습니다.\n", park[park_top]);
                printf("막다른길의 차들을 다시 주차장에 주차합니다.\n");
                
                while (way_top >= 1) {
                    push(way[way_top-1]);
                    printf("입차 : %d\n", way[way_top]);
                    printf("막다른길 : %d ");
                    for(int i = 0; i < way_top-1; i++) {
                        printf("%d   " ,way[i]);
                    }
                    printf("\n주차장 : ");
                    for (int i = 0; i < park_top-1; i++) {
                        printf("%d   ", park[i]);
                    }
                    printf("\n");
                }
            }
            else
                printf("출차 할 차량이 없습니다.\n");
        }
        else if (mode == 3) {
 
            for (int i = 0; i < park_top; i++) {
                printf("%d  \n", park[i]);
            }
        }
    }
    return 0;
}
 
cs

 

 

반응형

'Study > C' 카테고리의 다른 글

C언어 - 학생 Table(총점, 평균, 석차)  (0) 2018.09.07
C언어 - 탐색, 정렬, 순위  (0) 2018.09.07
C언어(자료구조) - Stack 구현  (0) 2018.09.06
C언어 - goto문  (0) 2018.08.29
C언어 - 구조체(학생 성적 구조체 만들기)  (0) 2018.08.29

+ Recent posts