전체 파일 메모리 복사해놓기

    파일 입출력, 전체 파일 메모리 복사해놓기

    file IO - reading an entire file into memory return to main index #include Often the exact structure of a document is NOT know at the time it is read. Therefore, a function such as fscanf() cannot be used because the sequence, and type, of the data must be know beforehand! Reading text one line at a time can also be tricky unless the maximum number of characters on a line is also known beforehan..