Answers for "c++ lettura file"

C++
0

c++ lettura file

#include <fstream.h>

void main() 
{
  ifstream OpenFile("cpp-input.txt");
  char ch;
  while(!OpenFile.eof())
  {
    OpenFile.get(ch);
    cout << ch;
  }
  OpenFile.close();
}
Posted by: Guest on March-21-2020

Browse Popular Code Answers by Language