Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 225 Bytes

hint1-1.md

File metadata and controls

20 lines (14 loc) · 225 Bytes

To open a file named "geom.dat", you need a file stream object:

#include <iostream>
#include <fstream>
#include <iomanip>

...

int main()
{  
  ifstream input("geom.dat");

  ...

  input.close();

  return 0;
}