4: 번 돌보
- 변, 문, , 배, , 복 복 + File I/O -
번 돼!
1. Wiki Ice breaking 및 리.
2. 및 느린 복
3. 를 만 데 만들보
- 변, 문, , 배, , 복 복 + File I/O -
번 돼!
1. Wiki Ice breaking 및 리.
2. 및 느린 복
3. 를 만 데 만들보
1. 보 ?
번 배 볼 내 '' .
리는 대 문 루면, 를 .
메모리 , 디 보 는 본 . 는, 떤 램 무 램 보 는데. 램 많, 만들 등 동 는 . 문 보 불러 . 명보.
1.1 램 는 문 램 는 모 데를 . 보는 부 , 는 방 됩. 를 들 램는 BGM, , , 림, 동 등 됩.
리는 대 문 루면, 를 .
메모리 , 디 보 는 본 . 는, 떤 램 무 램 보 는데. 램 많, 만들 등 동 는 . 문 보 불러 . 명보.
1.2 램 를 보 부 . 는 ? 리 림 뒤는 . . 만 보 등 .
2. 2.1 본
#include<stdio.h>
int main(){
2.2 대를 복
#include <stdio.h>
FILE *ftr = fopen("C:\\.txt","w");
FILE *ftr2;
int ten = 10;
int get = 0;
fprintf(ftr, "%d",ten);
fclose(ftr);
ftr2 = fopen("C:\\.txt","r");
fscanf(ftr, "%d",&get);
printf("%d",get);
return 0;
}FILE *ftr2;
int ten = 10;
int get = 0;
fprintf(ftr, "%d",ten);
fclose(ftr);
ftr2 = fopen("C:\\.txt","r");
fscanf(ftr, "%d",&get);
printf("%d",get);
return 0;
#include <stdio.h>
int main()
{
: C:\5.png C:\copy\5.png ~! .
3. 딩 KeyWord (들 문보)
3.1 메모리
3.2 FILE
3.3 대 대
3.4 림 fopen, fclose, fscanf, fprintf
3.5 stdin, stdout
3.7 리
4.
리 만들보 fork pull request 매뉴 보.
{
FILE *fp_source, *fp_dest;
char oneByte;
char source50, dest50;
scanf("%s %s", source, dest);
fp_source = fopen(source, "rb");
fp_dest = fopen(dest, "wb");
while(!feof(fp_source)) {
printf(" 복 료!\n");
fclose(fp_source);
fclose(fp_dest);
return 0;
}char oneByte;
char source50, dest50;
scanf("%s %s", source, dest);
fp_source = fopen(source, "rb");
fp_dest = fopen(dest, "wb");
while(!feof(fp_source)) {
oneByte = fgetc(fp_source);
fputc(oneByte, fp_dest);
}fputc(oneByte, fp_dest);
printf(" 복 료!\n");
fclose(fp_source);
fclose(fp_dest);
return 0;
: C:\5.png C:\copy\5.png ~! .
3. 딩 KeyWord (들 문보)
3.1 메모리
3.2 FILE
3.3 대 대
3.4 림 fopen, fclose, fscanf, fprintf
3.5 stdin, stdout
3.7 리
4.
리 만들보 fork pull request 매뉴 보.