Forum: C++ Dec 11th, 2006 |
| Replies: 15 Views: 2,979 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,979 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,979 So i do i need to call my create frequency later of change something else. |
Forum: C++ Dec 11th, 2006 |
| Replies: 15 Views: 2,979 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,979 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 <iomanip>... |
Forum: C++ Dec 10th, 2006 |
| Replies: 15 Views: 2,979 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,979 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,979 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?
... |
Forum: C++ Dec 8th, 2006 |
| Replies: 11 Views: 2,280 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>... |
Forum: C++ Dec 7th, 2006 |
| Replies: 11 Views: 2,280 |
Forum: C++ Dec 7th, 2006 |
| Replies: 11 Views: 2,280 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: 2,280 I was declaring it the wrong way. Thanks |
Forum: C++ Dec 7th, 2006 |
| Replies: 11 Views: 2,280 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: 2,280 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: 2,280 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,919 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,919 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,919 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,919 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.
include<iostream>
#include<iomanip>... |
Forum: C++ Nov 3rd, 2006 |
| Replies: 13 Views: 1,903 |
Forum: C++ Nov 3rd, 2006 |
| Replies: 13 Views: 1,903 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 );... |
Forum: C++ Nov 3rd, 2006 |
| Replies: 13 Views: 1,903 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,903 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,903 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... |
Forum: C++ Nov 3rd, 2006 |
| Replies: 13 Views: 1,903 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,903 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);... |
Forum: C++ Nov 1st, 2006 |
| Replies: 5 Views: 3,134 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: 3,134 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: 3,134 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,673 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,673 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,673 I dont see what you mean by reversing them |
Forum: C++ Oct 31st, 2006 |
| Replies: 19 Views: 2,673 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,673 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,673 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... |