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...
Type: Posts; User: fjf314
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...
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...
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...
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...
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...
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>
...
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.
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...
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...
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...
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...
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...
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...