Search:

Type: Posts; User: zonen

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    3,427

    C++ Address database program help

    I have a program here that I am getting errors on and need some guidance on what I need to fix. When I run the program the compiler will not let me append or show a record.





    #include...
  2. Replies
    33
    Views
    13,775

    I got it now thank you so much for the tips. I...

    I got it now thank you so much for the tips. I just entered
    averageScore = CalculateAverageScore(scoreAr, numPlayers);

    into my belowAverageScore function so that it recognized that the value of...
  3. Replies
    33
    Views
    13,775

    what is not working for me is the BelowAverage...

    what is not working for me is the BelowAverage function. All of the rest of my code is printing out correctly but below average is not identifying whose scores are less then the average score...
  4. Replies
    33
    Views
    13,775

    scratch that I got the names to post properly but...

    scratch that I got the names to post properly but the below average function is not working.
  5. Replies
    33
    Views
    13,775

    this is my code now which still is not displaying...

    this is my code now which still is not displaying the players names when I enter them and the belowAverage function is still not displaying either.


    #include <iostream>
    #include <iomanip>...
  6. Replies
    33
    Views
    13,775

    ya making that fix to the scores worked but how...

    ya making that fix to the scores worked but how did you get the players names to come out correctly? for some reason I am not getting them to display at all.
  7. Replies
    33
    Views
    13,775

    still no luck even with those changes from...

    still no luck even with those changes from hunter. Issue still is with displaying the names from the arrays and there scores correctly. The average score function works perfectly but It will not...
  8. Replies
    33
    Views
    13,775

    ya that makes perfect sense I completely...

    ya that makes perfect sense I completely overlooked the '&' I guess I didn't stop and think enough about how my calculate average funtion was really returning the average. I will give that a shot...
  9. Replies
    33
    Views
    13,775

    ok so my average is working now but the names are...

    ok so my average is working now but the names are still not displaying from the arrays for me and the belowaverage function is not bringing anything up. Any ideas on what I am doing wrong?

    ...
  10. Replies
    33
    Views
    13,775

    so is this statement required after all of my...

    so is this statement required after all of my input statements?
  11. Replies
    33
    Views
    13,775

    mana is there any tutorials on how that statement...

    mana is there any tutorials on how that statement you posted works because I haven't seen anything on limits<streamsize>::max() before. Is this going to have to go after all of my input statements?...
  12. Replies
    33
    Views
    13,775

    and andrew hunter, We have not yet learned...

    and andrew hunter,

    We have not yet learned about these structs that you talked about nor is it anything that I could use in my code so I am oblivious to what you are telling me to do with it.
  13. Replies
    33
    Views
    13,775

    mana I am not sure I understand what you mean by...

    mana I am not sure I understand what you mean by the input buffer not being cleared out. I though the cin.ignore was supposed to free that all up before the loop restarted.
  14. Replies
    33
    Views
    13,775

    I think I understand my issue with the...

    I think I understand my issue with the numplayersref

    I just need to make all of my code numPlayers and take out the "ref"
    correct?
  15. Replies
    33
    Views
    13,775

    thats not allowed with arrays.

    thats not allowed with arrays.
  16. Replies
    33
    Views
    13,775

    C++ Video Game Player Program

    ok so I have a program that is supposed to use arrays and this is the week we start learning arrays. The program is supposed to allow the user to input scores for a number of players up to 100...
  17. Replies
    34
    Views
    14,260

    thanks for all your help!

    thanks for all your help!
  18. Replies
    34
    Views
    14,260

    A working Solution... Finally: # include...

    A working Solution... Finally:


    # include <iostream>
    # include <string>
    # include <cctype>
    # include <iomanip>
    using namespace std;
    // prototypes
    int ReadDials (char &d1, char &d2, char...
  19. Replies
    34
    Views
    14,260

    ya I just looked, says no arrays, but does that...

    ya I just looked, says no arrays, but does that code above look right?
  20. Replies
    34
    Views
    14,260

    I think I finally understand why your saying that...

    I think I finally understand why your saying that my program isnt doing what it should be doing. How about if I do my ReadDials function like this:


    int ReadDial (char &d1, char &d2, char &d3,...
  21. Replies
    34
    Views
    14,260

    I dont think I can use arrays yet though.

    I dont think I can use arrays yet though.
  22. Replies
    34
    Views
    14,260

    I know that isalpha is supposed to check for the...

    I know that isalpha is supposed to check for the case I believe
  23. Replies
    34
    Views
    14,260

    I am supposed to be able to enter any form of a...

    I am supposed to be able to enter any form of a phone number for example 459-5647 should return that exactly, however if I ahve a 555-4513 it should bring back an error stating that you cant have a...
  24. Replies
    34
    Views
    14,260

    here is my updated code with issues still: ...

    here is my updated code with issues still:



    #include <iostream>
    #include <string>
    #include <iomanip>
    #include <cctype>

    //Prototypes
  25. Replies
    34
    Views
    14,260

    matze when you made the changes you were talking...

    matze when you made the changes you were talking about did it actually compile and do what it is supposed to do? Mine never actually properly read the numbers and through out errors like I needed it...
Results 1 to 25 of 39
Page 1 of 2 1 2