๋ฌธ์ : ๋ ๊ฐ์ ๋ณต์์๋ฅผ ์ ๋ ฅ ๋ฐ๊ณ , ๋ ๋ณต์์๋ฅผ ๋ํ ๊ฒฐ๊ณผ๊ฐ์ ์ถ๋ ฅํ๋ ํ๋ก๊ทธ๋จ์ ์์ฑํ์์ค. ์กฐ๊ฑด: ๊ตฌ์กฐ์ฒด ์ ์, add ํจ์ ์ ์, main ํจ์์์ ์ ๋ ฅ ๋ฐ ์ถ๋ ฅ ์ฝ๋: #include #include #include struct complex { //๋ณต์์ ๊ตฌ์กฐ์ฒด ์ ์ double sil, huh; //๋ณต์์์ ์ค์๋ถ์ ํ์๋ถ }; struct complex add(struct complex a, struct complex b); //ํจ์ ์ํ ์ ์ธ, ๊ตฌ์กฐ์ฒด ํจ์๋ก ์ค์ ํ๊ธฐ ์ฃผ์** int main() { struct complex a, b, c; scanf("%lf %lf", &a.sil, &a.huh); scanf("%lf %lf", &b.sil, &b.huh); c = add(a, b); ..
๋ฌธ์ : ์ฒซ ๋ฒ์งธ ์ ๋ ฅ๋ฐ์ ๋ฌธ์์ด์ ์๋ ๋จ์ด๋ค ์ค์์, ๋ ๋ฒ์งธ ์ ๋ ฅ๋ฐ์ ๋จ์ด๋ณด๋ค ์ฌ์ ์์ผ๋ก ์์ ํด๋นํ๋ ๋จ์ด๋ฅผ ์์์๋ถํฐ ์ฐจ๋ก๋๋ก ๋ชจ๋ ์ถ๋ ฅํ๊ณ , ๊ทธ ๋ค์ ์ค์ ์ฌ์ ์์ผ๋ก ๋ค์ ํด๋นํ๋ ๋จ์ด๋ฅผ ์์์๋ถํฐ ์ฐจ๋ก๋๋ก ๋ชจ๋ ์ถ๋ ฅํ์์ค. ์ฝ๋: #include #include int main() { char str1[150]; char str2[10]; char x[15][100]; //๋จ์ด ๊ณต๋ฐฑ ๋จ์๋ก ์งค๋ผ์ ์ ์ฅํ ๋ฐฐ์ด gets(str1); gets(str2); int i = 0, j, s, k = 0; int cnt = 0; for (i = 0; i < str1[i]; i++) {//str1 ๋ฌธ์์ด์ด ๋ ๋ฌธ์๊ฐ ๋์ฌ ๋๊น์ง ๋๋ฆฌ๊ธฐ if (str1[i] != ' ') { //๊ณต๋ฐฑ์ด ์๋๋ผ๋ฉด for (j ..
- Total
- Today
- Yesterday
- ํ ํฌ์๋ฐ
- 2d-gs
- ๋ ผ๋ฌธ์ฝ๊ธฐ
- C์ธ์ด
- ํ์ด์ฌ
- ์ปดํจํฐ๋น์
- Paper review
- ๋ ผ๋ฌธ
- 3d-gs
- ์ฝ๋ฉ๊ณต๋ถ
- lgaimers
- dreambooth
- SQL
- ๋ ผ๋ฌธ๋ฆฌ๋ทฐ
- Aimers
- Gaussian Splatting
- AIRUSH2023
- ์คํ ์ด๋ธ๋ํจ์
- ๋๋ฆผ๋ถ์ค
- ์ฝํ ์ค๋น
- CLOVAX
- ํ๋ก๊ทธ๋๋จธ์ค
- ์ฝ๋ฉ์๋ฌ
- MYSQL
- gan
- ํ์ด์ฌ์ฝํ
- gs๋ ผ๋ฌธ
- AI์ปจํผ๋ฐ์ค
- SKTECHSUMMIT
- AIRUSH
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |