Search Results

Showing results 1 to 40 of 189
Search took 0.02 seconds.
Search: Posts Made By: jimJohnson
Forum: C++ May 6th, 2008
Replies: 5
Views: 587
Posted By jimJohnson
haha I am going to need an actual number... just in case I must submit a requirement
Forum: C++ May 5th, 2008
Replies: 5
Views: 587
Posted By jimJohnson
I am an employee at Scottrade (competition with etrade if you guys have not heard of it) and they had me start out as an intern then joined the help desk starting this summer. In the fall I will be...
Forum: C++ May 4th, 2008
Replies: 3
Views: 365
Posted By jimJohnson
I am going over some of my quizzes with questions I did not get right and was wondering if someone could help me w\ a few of them...

What will the following code print to the screen:


int...
Forum: C++ May 2nd, 2008
Replies: 2
Views: 681
Posted By jimJohnson
let me know if u guys do not know what i mean
Forum: C++ May 1st, 2008
Replies: 2
Views: 681
Posted By jimJohnson
just a small issue with my program...I am finishing it up and the issue I have is I need to make me decimal points line up...the array is up and perfect just need some assistance in setting up the...
Forum: C++ May 1st, 2008
Replies: 10
Views: 1,088
Posted By jimJohnson
nevermind figured that out
Forum: C++ May 1st, 2008
Replies: 10
Views: 1,088
Posted By jimJohnson
still having problems



double Calc_Median(int count, double Size[])
{
double median = 0.0;
double average_median;

median = count / 2;
Forum: C++ May 1st, 2008
Replies: 10
Views: 1,088
Posted By jimJohnson
and how do I do that
Forum: C++ May 1st, 2008
Replies: 10
Views: 1,088
Posted By jimJohnson
but dont I need an if statement in there somehow to determine if its even or odd numbers
Forum: C++ May 1st, 2008
Replies: 10
Views: 1,088
Posted By jimJohnson
i know that but having trouble computing that in coding terms
Forum: C++ May 1st, 2008
Replies: 10
Views: 1,088
Posted By jimJohnson
can someone show me how to code the median if it is an even number



#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
using namespace std;
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
do you guys know what i mean when i say my median when its an even set... I judt dont know how in coding terms to compute this
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
figured out the sort array so there are only two things I am not sure of...one is the median...If the numbers are odd I have it to nor problem but if the numbers are even I do not know how to...
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
one other issue I am realizing...my median doesnot take into account if the count is even
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
ok that did work when I tried the same thing so I have average, median, and the first loop finished...the only thing I have left is 1. line up the widths so each line has four numbers which i have...
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
I got the median finally...so thats a start...now with the average do I do just the same thing with median????



#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>...
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
also I get two warnings of possible loss of data that is my other main issue
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
median = Size[ MAX_SIZE / 2 ];
return (median);


so it would be median =Size[count /2]
return median;
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
i think i got the sorting from smallest to largest somewhat right but can someone look at my changes and show me what I am still not doing correctly.....



#include <iostream>
#include...
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
ok thank you so much that worked...I have two final things to figure out on my program but you really dont havta help me if you don't wanna because you helped me a ton already but my issues are just...
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
ughhh this program will never end...ok I got those errors away but now have a conversion from double to int warning and a fatal error warning....sorry I know I am probably driving you crazy right now...
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
Before I forget just wanna say thanks for everyone helping me but now I have an error I have never seen before...actually four of them

1>c:\documents and settings\don & diane kruep\desktop\project...
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
so pretty much just change int Size[]

to

double Size[] at every place and it should show the decimal
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
are you positive because I want to print some negative numbers as well and after doing so that negative numbers were removed....this is my input files.....

data2.txt:

54.654 -7.435 345.53...
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
from the instructions can anyone give me an idea where and how to print this smallest to largest in my program and also the decimal point issue...i think it has something to do in

Size[count] =...
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
I think my only issues from the instructions are setting up my widths(not sure how to do that with an array), the decimal point I seem to be missing, and the sort from smallest to largest...if anyone...
Forum: C++ May 1st, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
I got them to come out but for some reason when i set the precision it doesnt show the decimal point


#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
using...
Forum: C++ Apr 29th, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
the reason for me to use tempcount just is a way to set the rows and columns up so only 4 are printed on each line...so that part is actually working so I think I will need to keep it...the problem...
Forum: C++ Apr 29th, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
not sure if I did this right or not but returning alot of errors:



#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
using namespace std;
Forum: C++ Apr 29th, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
no disrespect just made a mistake...sorry
Forum: C++ Apr 29th, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
man chill out
Forum: C++ Apr 29th, 2008
Replies: 34
Views: 1,881
Posted By jimJohnson
2 questions first did you guys get hacked yesterday or something and 2nd:

Not sure what I am doing wrong but have an issue with a program...i am to input a file name that i have in my project and...
Forum: C++ Apr 28th, 2008
Replies: 17
Views: 2,961
Posted By jimJohnson
it works but when I type in a datafile it will not show anything...I have two data files in my program...understand what I mean?
Forum: C++ Apr 27th, 2008
Replies: 17
Views: 2,961
Posted By jimJohnson
Ok I am a complete idiot because I just send the wrong code over...



#include <iostream>
#include <fstream>
#include <iomanip>
#include <string>
using namespace std;
Forum: C++ Apr 27th, 2008
Replies: 17
Views: 2,961
Posted By jimJohnson
One last thing and I should be done...I think I did it correctly but is not compiling and returning error from my fill array coding



#include <iostream>
#include <fstream>
#include <iomanip>...
Forum: C++ Apr 25th, 2008
Replies: 17
Views: 2,961
Posted By jimJohnson
Can anyone see what I am doing wrong in my code...I know this is not one of my text files...my two text files are data1.txt and data2.txt but when I tried that I get the same output


Enter the...
Forum: C++ Apr 25th, 2008
Replies: 17
Views: 2,961
Posted By jimJohnson
sorry one final thing and this is completed I am getting this error:

error LNK2019: unresolved external symbol "int __cdecl Calc_Median(int,int const * const)" (?Calc_Median@@YAHHQBH@Z) referenced...
Forum: C++ Apr 25th, 2008
Replies: 17
Views: 2,961
Posted By jimJohnson
One last question I have...I dunno how to explain this but I have two input files....I need to type the file to read in from the cout << "Enter the file to read in:"; and one file is data1.txt and...
Forum: C++ Apr 25th, 2008
Replies: 17
Views: 2,961
Posted By jimJohnson
so it pretty much is just median = Size[] / 2
Forum: C++ Apr 25th, 2008
Replies: 17
Views: 2,961
Posted By jimJohnson
I am writing a function and need to calculate the median...I am gonna b honest I absolutely have no idea how to start this but it is pretty much one of the last things I need to do with my program. ...
Showing results 1 to 40 of 189

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC