Using C++ you can access a device through an intermediate medium. The intermediate medium is called as stream. The device that you access is known as file. Don’t mistake the term file as a …
Read More »Working with Files
Opening & Closing a File In C++
Opening & Closing a File In C++ We think you’ll find this interesting. You’ll learn how to access disk files in the following sections. First of all, you have to make use of another header …
Read More »Writing to a Text File In C++
Reading and Writing to a file is very easy. First we shall take a look at writing: << is known as the insertion operator. It is used for output along with the keyword …
Read More »Reading a Text File In C++
Before learning this section We hope you know the Difference between void main ( ) and int main ( ). If you haven’t seen the section then please do so and come back here. …
Read More »