answersLogoWhite

0

Use the istream::eof() method.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

How to complete this C plus plus End Of File controlled while loop program?

Add the missing parts.


How do you create .exe file in c plus plus?

You can create an exe-file from your C++ source, if you have a compiler.


How do you open a file in c plus plus?

fopen()


Is there a file concept in c plus plus?

No. The standard does not define nor require a file concept.


Can you rewrite a cuda file in c c plus plus language?

Yes, you can rewrite a cuda program originally written in c in c plus plus.


What is a scatter file in c or c plus plus programming?

Scatter File is a linker script file used by RVCT/Keil for ARM processors. It is used by arm linker.


Explain any six file commands in C plus plus?

There's no commands in C++.


How do you concatinate two files in c plus plus?

Copy the first file then append the second file to the copy.


Is it possible to skip to a new line when reading from a file in c plus plus?

To skip to a new line when reading from a file, assuming you are using a sequentially organized file, the usual case, you need to read and discard characters until you encounter the end-of-line character.


How do you convert a notebook file to a c plus plus file?

There are no "notebook files"; C++ sources are ordinary text files. When you save a file from NotePad, select File/SaveAs and select 'file type: all', then enter the name, e.g. myprogram.cpp


What is the header file for getchar in c plus plus?

I think its in conio.h or stdio.h


What is the back end for c plus plus?

The back end for C++ is often C. In the early days of C++ compilers, implementors took advantage of the fact that C++ was an extension of C, and wrote C++ compilers that generated C as an intermediate file, passing it to a C compiler. Nowadays, most C++ compilers generate native object code in their own right, although there are still a few implementations that use the C++ to C paradigm.