Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void Vec::readFrom(string FileName) {
- ifstream fin( FileName.c_str() );
- fin.is_open();
- int len;
- int x;
- fin>>len;
- Vec v3=len;
- for (unsigned i = 0; i < mySize; i++){
- fin>>x;
- v3.setItem(i, x);
- }
- fin.close();
- }
Add Comment
Please, Sign In to add comment