Search:

Type: Posts; User: Confuzz

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    1,859

    lol, this isn't the actual code that I have, but...

    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)...
  2. Replies
    3
    Views
    1,859

    pulling numbers from files....

    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.......
  3. halfway there.... just gotta work on the...

    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....
  4. trying something.... noticed I was using control...

    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...
  5. the control++ right after the control = value...

    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,...
  6. ok.... weird.... didn't change anything, it'll...

    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?
  7. output from loop and writing to file (seperate problems)

    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...
  8. Replies
    6
    Views
    988

    lol, yeah.... fixed that, too.... thanks....

    lol, yeah.... fixed that, too.... thanks....
  9. Replies
    6
    Views
    988

    lol, problem.... I'm sure its because I'm...

    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...
  10. Replies
    6
    Views
    988

    looks like it works, thanks....

    looks like it works, thanks....
  11. Replies
    6
    Views
    988

    lol, it only overwrites the old data if I run the...

    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....
  12. Replies
    6
    Views
    988

    thinking that changing the while command to...

    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...
  13. Replies
    6
    Views
    988

    reading and writing to files....

    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...
Results 1 to 13 of 13