Search:

Type: Posts; User: fjf314

Search: Search took 0.01 seconds.

  1. Thread: Histogram

    by fjf314
    Replies
    1
    Views
    1,450

    Histogram

    Okay, I'm on the last section of my program, and I'm stuck yet again. I need to make a histogram for the data in my program. Here is my function for it:


    void display_histogram( int arr[], int...
  2. Replies
    2
    Views
    860

    Thanks. I had never seen "static_cast"...

    Thanks. I had never seen "static_cast<double>" before, but it did the trick. While I never would have figured out what was wrong with the mean, the median was my own fault, in leaving median_1 and...
  3. Replies
    23
    Views
    2,916

    I'm glad to see support continue for Windows 98,...

    I'm glad to see support continue for Windows 98, since that's what I'm running right now. I would like to upgrade to XP, but I'm planning on getting a new computer altogether sometime soon. Until...
  4. Replies
    2
    Views
    860

    Decimal problems

    In the latest incarnation of my program, I'm calculating the mean and median (among other information) of a set of numbers, which are being read from a file. My problem is that the mean and the...
  5. Replies
    9
    Views
    9,103

    Well, I was able to get my program running at...

    Well, I was able to get my program running at school today. I've started to add some more things, but now I've noticed that my array is acting up. It's repeating the last number in my stat_data...
  6. Replies
    9
    Views
    9,103

    Well, the error problem is solved, but the...

    Well, the error problem is solved, but the program itself doesn't seem to be working... Are there any other apparent errors?


    #include<iostream.h>
    #include<iomanip.h>
    #include<fstream.h>

    ...
  7. Replies
    9
    Views
    9,103

    When I do that, then, how should I go about...

    When I do that, then, how should I go about changing my function? If I leave my function as is, then I'll get an error on having three parameters.
  8. Replies
    9
    Views
    9,103

    Cannot convert from 'int' to 'int []' error

    I'm currently writing a program that reads information from an already created file, and displays the information in an array. I created one function that takes the data from the file and places it...
  9. Replies
    10
    Views
    2,802

    Thanks yet again. I guess I missed the...

    Thanks yet again. I guess I missed the initialization section of your earlier post. Yes, I was just getting lucky and my compiler was setting my SENTINEL at something it wasn't equal to and my...
  10. Replies
    10
    Views
    2,802

    Yes, and I can't thank you enough! Along with...

    Yes, and I can't thank you enough! Along with your help and that of some of my classmates today, I finally have this program running. With a better understanding of the code, I was able to make it...
  11. Replies
    10
    Views
    2,802

    The problem is I keep doing just that, but I keep...

    The problem is I keep doing just that, but I keep thinking it should work. I don't know what the problem is. I've gotten a few of my friends to check it out, too, but they can't find anything wrong...
  12. Replies
    10
    Views
    2,802

    Thanks for the help, but that doesn't seem to...

    Thanks for the help, but that doesn't seem to work. I tried creating the while statement with the other statements nested, but the output was still messed up, and it only displays the number I need...
  13. Replies
    10
    Views
    2,802

    Sentinel Value and numbering

    Right now, I'm trying to write a program that simply lets the user enter in numbers, which are then stored in a file. My problem stems from the fact that this is my first instance in using a...
Results 1 to 13 of 13