Eighth Lesson of Algorithm

Today we learn about File Processing.

File consists of Record (baris) and Field (kolom).

There are also two different measurement of file: Byte and bit. 1 Byte = 8 bit.

File in C programming language can be made into text file (.txt) or binary file (.dat)

Here are some syntax we learn today:

FILE = to create a pointer that assign the file

fscanf = to read the file

fprintf = to print something to the file

fclose = to close the opened file

fopen = to open the file

Leave a Reply

Your email address will not be published. Required fields are marked *