daily pastebin goal
92%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void Vec::readFrom(string FileName) {
  2.     ifstream fin( FileName.c_str() );
  3.         fin.is_open();
  4.         int len;
  5.         int x;
  6.         fin>>len;
  7.         Vec v3=len;
  8.         for (unsigned i = 0; i < mySize; i++){
  9.             fin>>x;
  10.             v3.setItem(i, x);
  11.         }
  12.     fin.close();
  13. }
RAW Paste Data
Top