Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. //Tristan Bouchey made this.
  2.  
  3. #include<iostream>
  4. #include<string>
  5. #include<fstream>
  6. using namespace std;
  7.  
  8. string loadArrays();
  9. int main()
  10. {
  11. const int SIZE = 10;
  12.  
  13. ifstream fin("homes.dat");
  14. if (!fin.is_open())
  15. {
  16. cout << "ERROR OPENING FILE" << endl;
  17. system("pause");
  18. exit(-1);
  19. }
  20.  
  21. loadArrays(length);
  22. }
  23.  
  24. string loadArrays()
  25. {
  26. int length;
  27. for (length = 0; length > SIZE; length++)
  28. {
  29.  
  30. };
  31.  
  32. return length;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement