Commit 756cb2fa by jobrod

Add new file

parent 06f0452c
Showing with 28 additions and 0 deletions
What is SQL and how is it used for?
SQL (Structured Query Language) is a programming language used to
manage databases. It is used for querying, updating,
inserting, and deleting data in databases.
How to build the connection between the physical and logical name of a file?
Think of the logical name as the file's address
(like C:\Users\Jordan\Documents\file.txt).
The operating system acts like a librarian,
translating this address into the exact spot
on the hard drive where the file is stored.
This way, you can find and use files easily
without knowing their exact physical location.
we use file handling functions like fopen(), fclose(), and pointers to build connections.
What are the functions OPEN() and CLOSE() and what are they used for?
OPEN(): This function opens the file so you can read from it or write to it.
It is used to gain access to the file's contents for various operations
like reading data, writing data, or updating the file.
CLOSE(): This function closes the file after you're done using it,
ensuring that all changes are saved and no data is lost. It is used to safely
terminate the access to the file, making sure that the file is properly saved
and no further operations can be performed on it until it is opened again.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment