Use the istream::eof() method.
Add the missing parts.
You can create an exe-file from your C++ source, if you have a compiler.
fopen()
Yes, you can rewrite a cuda program originally written in c in c plus plus.
No. The standard does not define nor require a file concept.
Scatter File is a linker script file used by RVCT/Keil for ARM processors. It is used by arm linker.
There's no commands in C++.
Copy the first file then append the second file to the copy.
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.
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
I think its in conio.h or stdio.h
The function ftell returns the position of the file pointer for a file.