|
|
|
 |
C 언어 화일관련 함수 조사 정리
|
|
|
 |
C 언어 화일관련 함수 조사 정리
목차
고수준, 저수준 I/O Function의 종류와 특징 비교
저수준 I/O Function의 종류
Read()
Write()
Open()/Close()
lSeek()
3.고수준 I/O Function의 종류
fopen()
fclose()
fgetc()
fputc()
fscanf()
fprintf()
fgets()
fprts()
fread()/fwrite()
fseek()
ftell()
고수준, 저수준 I/O Function의 종류와 특징 비교
· 고수준 I/O Function과 저수준 I/O Function의 차이
1. 저수준 화일 처리
- 바이트(byte) 단위의 기계적인 입출력을 하는 화일 방식으로 화일 출럭을 위한 버퍼를 프로그래머가 지정해야 한다.
2.고수준 화일 처리
- 데이터를 블록(physical record) 단위로 읽어 버퍼에 기록한 후 이를 하나의 단위로 처리하는 화일 처리 방식이다.
저수준 화일 I/O Function
Read()
Write()
Open()/Close()
lSeek()
Read()
.... |
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|