8

Reading a file of ints should be working but is not

view full story
linux-howto

http://stackoverflow.com – Me and a friend have been working on a program over the past couple of days and figured out how to read a file of ints into a program, it worked the first day we made it, but i mustve changed something because now it reads from the second interger on and adds a zero at the end. heres the code: #include <iostream> #include <string> #include <iomanip> #include <fstream> #include <cmath> #include <cstdlib> using namespace std; struct Hand { int handCards[52]; int totalCards; }; struct Card { char rank; char suit; }; void OpenFile (ifstream&, st (HowTos)