What's file ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What's file ?

what's file and the usage of it in real world project

12th Mar 2017, 10:34 AM
Abdul Sami Ayoubi
Abdul Sami Ayoubi - avatar
4 Answers
+ 16
in c and cpp files are used to store data or for managing database, because u can't see the previous output of your program, every time program executes and the output is generated but it is not retrieved further.
12th Mar 2017, 10:45 AM
Mansi Dagla
Mansi Dagla - avatar
+ 16
File is a group of bytes wich is saved in a directory... It is the most important part of project, No file means no project, no programs, no data, no OS(Windows, linux, etc), and computer is nothing, except a rubbish... no file means computer can't store data and it means no commands, can't do anything, so why I say it like rubbish without files...
26th Mar 2017, 3:34 PM
Immanuel
Immanuel - avatar
+ 3
Files used in c and c++ for read data from files or write data in files. Store more data and display it.
12th Mar 2017, 10:37 AM
Mayur Chaudhari
Mayur Chaudhari - avatar
0
thanks for answering guys
11th Apr 2017, 11:38 AM
Abdul Sami Ayoubi
Abdul Sami Ayoubi - avatar