[๋๊ตฌ๋ ์ฝ๊ฒ ์ฆ๊ธฐ๋ C ์ธ์ด ์ฝ์ํธ - ๊ฐ์ 3ํ] 12์ฅ Programming ํ์ด (2)
# 12์ฅ Programming ํ์ด (2) 490p_7๋ฒ) #include #include int main() { int change = 0; char one[20]; char two[20]; char get_one[100]; char get_two[100]; FILE* file1; FILE* file2; printf("์ฒซ ๋ฒ์งธ ํ์ผ๋ช
: "); gets_s(one, 20); printf("๋ ๋ฒ์งธ ํ์ผ๋ช
: "); gets_s(two, 20); fopen_s(&file1, one, "r"); fopen_s(&file2, two, "r"); while (!feof(file1)) { fgets(get_one, 100, file1); fgets(get_two, 100, file2); if (strcmp(get..
2023. 1. 30.