Showing results 1 to 35 of 35
Search took 0.01 seconds.
Posts Made By: JS1988
Forum: C++ Dec 11th, 2006
Replies: 15
Views: 2,381
Posted By JS1988
Re: Output problems

Alright got it up and going. Thank you very much to everyone who helped me figure this out.
Forum: C++ Dec 11th, 2006
Replies: 15
Views: 2,381
Posted By JS1988
Re: Output problems

Ok I got rid of scores it was supposed to be numbers not scores. so now it runs but when it gets past the 25 line it just shows ***** all the way down with showing my mean median and mode and any...
Forum: C++ Dec 11th, 2006
Replies: 15
Views: 2,381
Posted By JS1988
Re: Output problems

So i do i need to call my create frequency later of change something else.
Forum: C++ Dec 11th, 2006
Replies: 15
Views: 2,381
Posted By JS1988
Re: Output problems

Ok I thought i sent this one last night but guess not. I got it all to compile but when i go to run it it comes up with an error message from my computer not one that was in my program. I have...
Forum: C++ Dec 11th, 2006
Replies: 15
Views: 2,381
Posted By JS1988
Re: Output problems

I know i had them all changed to inFile instead of report and got rid of the ofstream. but then it wouldnt compile it comes up with a linker error



#include <iostream>
#include...
Forum: C++ Dec 10th, 2006
Replies: 15
Views: 2,381
Posted By JS1988
Re: Output problems

Ok I got rid of the ofstream because I didnt think i needed it becuase i just want to write this to the screen not another file. So i changed all the ofstream reports ifstream inFile but now it wont...
Forum: C++ Dec 10th, 2006
Replies: 15
Views: 2,381
Posted By JS1988
Re: Output problems

Ok so i put the ofstream insided get numbers and put a system pause there so i can see what its printing and it it just prints the histogram but its not reading the data I think because it just...
Forum: C++ Dec 9th, 2006
Replies: 15
Views: 2,381
Posted By JS1988
Output problems

Ok so I got this to compile but now all it prints out to the screen is the "*" in my createHistogram function why doesnt it print the mean,median and mode with a histogram of the data?


#include...
Forum: C++ Dec 8th, 2006
Replies: 11
Views: 1,768
Posted By JS1988
Re: help please

Alright I got it to compile but now all it does is print the asterisks in the createHistogram function and nothing else to the screen what am I doing wrong now.



#include <iostream>
#include...
Forum: C++ Dec 7th, 2006
Replies: 11
Views: 1,768
Posted By JS1988
Re: help please

Sorry i Forgot code tags
Forum: C++ Dec 7th, 2006
Replies: 11
Views: 1,768
Posted By JS1988
Re: help please

Ok this is what I got now. I declared them the way you showed me I think there are still a few problems yet. Am i going out of scope still? There is somthing wrong with my function and their...
Forum: C++ Dec 7th, 2006
Replies: 11
Views: 1,768
Posted By JS1988
Re: help please

I was declaring it the wrong way. Thanks
Forum: C++ Dec 7th, 2006
Replies: 11
Views: 1,768
Posted By JS1988
Re: help please

Ok i fixed all that now i think, but i still got that problem with my ofstream&. Oh and im not using pointers
Forum: C++ Dec 6th, 2006
Replies: 11
Views: 1,768
Posted By JS1988
Re: help please

ok yeah i see what your saying i think but im also getting a lot of
expected primary-expression before ']' token on the createFrequency function for example how is that fixed
Forum: C++ Dec 6th, 2006
Replies: 11
Views: 1,768
Posted By JS1988
help please

Could somebody please me get this to compile and run



#include <iostream>
#include <iomanip>
#include <fstream>
#include <cmath>
using namespace std;
Forum: C++ Nov 4th, 2006
Replies: 5
Views: 1,543
Posted By JS1988
Re: quick question

never mind i figured it out i needed to put an if statement after i call the printtitle to reset monthnum back to 0 so it will go through again.
Forum: C++ Nov 4th, 2006
Replies: 5
Views: 1,543
Posted By JS1988
Re: quick question

I was only being defensive because I didnt realize that was your signature. It said and i didnt realize that was your signature. And if you run the program once and then tell it to go again it...
Forum: C++ Nov 3rd, 2006
Replies: 5
Views: 1,543
Posted By JS1988
Re: quick question

I didnt ask you to write this program, I wrote it.And i thought i used the code tag because i highlighted the text and hit the code text button, which is what i was told to do. the loop is needed so...
Forum: C++ Nov 3rd, 2006
Replies: 5
Views: 1,543
Posted By JS1988
quick question

Quick question, what do i want to put in the while of my do while statement in myprintitle function so that will loop around with the main part as well.

...
Forum: C++ Nov 3rd, 2006
Replies: 13
Views: 1,564
Posted By JS1988
Re: Calendar

Disregar this last post
Forum: C++ Nov 3rd, 2006
Replies: 13
Views: 1,564
Posted By JS1988
Re: Calendar

now this is what i have and still got a problem

#include<iostream>
#include<iomanip>
using namespace std;
int startDay(int , int );
int calcjan1(int, int );
void printMonth (int , int );
int...
Forum: C++ Nov 3rd, 2006
Replies: 13
Views: 1,564
Posted By JS1988
Re: Calendar

Ok i did that but now i get a linker error..sry i didnt put it in code tags

#include<iostream>
#include<iomanip>
using namespace std;
int startDay(int year, int calcjan1);
int calcjan1(int...
Forum: C++ Nov 3rd, 2006
Replies: 13
Views: 1,564
Posted By JS1988
Re: Calendar

ok show me exactly how it would look i dont know if i quite understand.



#include<iostream>
#include<iomanip>
using namespace std;
int startDay(int year, int calcjan1);
int calcjan1(int...
Forum: C++ Nov 3rd, 2006
Replies: 13
Views: 1,564
Posted By JS1988
Re: Calendar

Ok i fixed all of that but get a compiling error at these points lines

6 C:\Documents and Settings\menu_jrs.cpp too few arguments to function `int calcjan1(int, int, int)'

24 C:\Documents and...
Forum: C++ Nov 3rd, 2006
Replies: 13
Views: 1,564
Posted By JS1988
Re: Calendar

ok this is what i have now but there are a couple problems when i go to compile it. that i cant figure out.

#include<iostream>
#include<iomanip>
using namespace std;
int startDay(int year, int...
Forum: C++ Nov 2nd, 2006
Replies: 13
Views: 1,564
Posted By JS1988
Help Calendar

can anyone tell me how to fix this, it needs to print out the calendar for a whole year.

#include<iostream>
#include<iomanip>
int startDay(int year, int calcjan1);
int calcjan1(int year);
void...
Forum: C++ Nov 1st, 2006
Replies: 5
Views: 2,046
Posted By JS1988
Re: C++ questions

I have been trying to get this for the past week all i can figure out is how to get it to print out to find one month.
Forum: C++ Nov 1st, 2006
Replies: 5
Views: 2,046
Posted By JS1988
Re: C++ questions

and the calendar program can only be done with the knowledge of loops, if/else switches etc.. NO RECURSIVE
Forum: C++ Nov 1st, 2006
Replies: 5
Views: 2,046
Posted By JS1988
Re: C++ questions

I really appreciated your replys, it helps me a lot when i can see how it is done they way you did it.It really helped me with my other ones I was working out. Do you know how to write a program to...
Forum: C++ Oct 31st, 2006
Replies: 19
Views: 2,163
Posted By JS1988
Re: C++ questions

Ok now i see....so if i want to make *'s appear now i should have to change the int to char but then i dont see how you get them to print because it isn't the same as with the numbers is it.
Forum: C++ Oct 31st, 2006
Replies: 19
Views: 2,163
Posted By JS1988
Re: C++ questions

yeah I got how to reverse the first loop it was the second one that is confusing me still. I should made that clear when I posted
Forum: C++ Oct 31st, 2006
Replies: 19
Views: 2,163
Posted By JS1988
Re: C++ questions

I dont see what you mean by reversing them
Forum: C++ Oct 31st, 2006
Replies: 19
Views: 2,163
Posted By JS1988
Re: C++ questions

This is what I have but doesnt count down the right way and I cant figure it out
#include<iostream>
using namespace std;
int main()
{
for(int x = 9;x>=1;x--)
{
for(int y=x;y>=1;y--)
...
Forum: C++ Oct 31st, 2006
Replies: 19
Views: 2,163
Posted By JS1988
Re: C++ questions

this is what i have, how do i fix it

#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
for(int x =1;x<10;x--)
{
for(int y=x;y=x;y++)
Forum: C++ Oct 31st, 2006
Replies: 19
Views: 2,163
Posted By JS1988
Help C++ questions

Does anyone know how to writea program to print
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 and so on until it is down to one.


Anyone know how to right a function that perform this with a...
Showing results 1 to 35 of 35

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 4:34 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC