lol, this isn't the actual code that I have, but still.... it'll work....
string array[x];
int number = 0;
int y = 0;
void main()
{
getline(infile, array[x])
number = array[x]/((y+1)*3)...
Type: Posts; User: Confuzz
lol, this isn't the actual code that I have, but still.... it'll work....
string array[x];
int number = 0;
int y = 0;
void main()
{
getline(infile, array[x])
number = array[x]/((y+1)*3)...
lol.... ran into a problem.... don't think the actual code is needed for this.... got some string arrays that hold numbers.... tried dividing those numbers by an int variable.... won't do it.......
halfway there.... just gotta work on the sections to find high game and high set and calculate averages.... that won't be difficult once I remember how to sort lists....
trying something.... noticed I was using control up in the menu section, that's why the list would disappear entirely the second time around.... with value < control - 1, it drops the last name...
the control++ right after the control = value inside of LOAD I was talking about keeps the last name from disappearing, but it adds another line.... Shows the four names and a fifth without a name,...
ok.... weird.... didn't change anything, it'll write the scores to the file for the first name on the list now.... any idea why it'd do that?
lol, I'm back.... I'll probably get it fixed on my own, but still.... maybe someone else will have the same problem and can figure it out from this instead of having to make a post....
case...
lol, yeah.... fixed that, too.... thanks....
lol, problem.... I'm sure its because I'm pulling everything out and then putting it back inwith the new names, but it copies the original list, adds the new names and puts everything back into the...
looks like it works, thanks....
lol, it only overwrites the old data if I run the same option more than once without closing the program.... I'll give it a try, though.... thanks....
thinking that changing the while command to another one and adding EOF in there somewhere might fix it, but I'm not completely sure.... there's no point in trying something if I don't know if it'll...
getting lazy with adding up all my bowling scores and finding my average and everything.... Decided while I was at it, I might as well make a program that'll keep scores and averages for the entire...