ha, tell me about it. it worries me too. this is my last assignment fortunately. thanks for the tip, i'll get to work on this beast.
Type: Posts; User: joeman
ha, tell me about it. it worries me too. this is my last assignment fortunately. thanks for the tip, i'll get to work on this beast.
i've been given an assignment, and an entire code. the only thing i have to do is code methods to make the program work. could someone give me an example of what one of these methods would be? i...
i posted about this earlier but have made a lot of changes, but i'm still almost as lost as i was before. so the idea is that i have to read from the text file "players.txt" (which i'll post at the...
well i guess it'd just be an int.
the function that i'm supposed to write is quite an issue. i don't know where to begin there.
if the link isn't working, this is the description of the function
Function to write and use...
CSCI 240 - Program 10 - Spring 2010
this one may work.
hm i don't know what the link problem is, i'll try to fix that. thanks for the tip, that makes sense. now i need to figure out how to split all this information up and sort it out correctly. i'll see...
i really am lost as to what to do here. the program i need to write is that i have to open up a text file (i'll display that a the bottom of the post), read the info in the text file and put it into...
i'm trying to display the values (min, max, mean, standard deviation, etc. ) and it's giving me most things back with 0 in the decimal place. the sum of the array is coming out to be 210.1, when in...
ok thanks a lot man. of course i have another problem... as i mentioned, when i display the min, max, or anything, i'm getting very odd values. with the code i just posted, i get
min: 0x22ff20...
changed code, got rid of &'s
#include <iomanip>
#include <iostream>
#include <fstream>
#include <ctype.h>
#include <math.h>
using namespace std;
hm... that presents a challenge in calculating the average. i've noticed ( i took out the average for the moment to get the program to run) that i am getting very odd results for min, max, and median...
thanks. i tried changing some things, have almost got it working i think. i'm still getting an error at line 72 that i can't figure out. invalid operand types of double and int to binary operator....
i'm trying to calculate the minimum, maximum, average, etc. of an array. using the calcbyaddr function. i keep getting this error and i don't know what it means. i'm getting it at line 27, 63, 64,...
oh christ, cout<<... why on earth did i not think of that. thank you much, kind sir. thanks to everyone else as well. it's been a long day , ha
ok, how do i set a number equal to the name? i need this program to read 0 from the text file and display drake. i have no idea whatsoever how to do this, i've declared them as strings and ints, i...
bear with me here, i'm not knowledgeable at all in c++. i appreciate the help so far. so would declaring the family names as int solve the problem?
so i'd have to make each of the numbers variables in order for it to work? but that's not possible, is it?
i get this error message for each of these lines when i try to run the program. i have no idea what it means. what am i doing wrong? there is a data file elsewhere in the program, and i'm reading...
thanks. yeah i'm still working on getting this all sorted out. there's too much that i'm terribly confused about at the moment, i'll fix the more minor things when i get this mostly worked out....
i need to sort these arrays after they've read the input file. in that file (i'll post it at the bottom) the first column of numbers needs to be sorted numerically, ascending. (and all the rows need...
thanks a lot for the help man, much appreciated
how would i pass a variable from one function to another?
thanks, i fixed that, but i'm still having a problem with it printing out an extra 15 rows of data that aren't in the text file.
i'm trying to print arrays after building them from a text file. all of the rows of the text files are being displayed (ugly display at the moment, i know, i'll fix that) but then i get a bunch of...