Thanks for the help. It did not work but the attempt was appreciated. I just turned in the assignment by writing gcf right in the int main. If anyone has any ideas on what was wrong i would...
Type: Posts; User: simhap
Thanks for the help. It did not work but the attempt was appreciated. I just turned in the assignment by writing gcf right in the int main. If anyone has any ideas on what was wrong i would...
O.K. I have a program that finds the solution to addding, subtracting, dividing or multiplying a fractions. My problem occurs when I try to find the Greatest common factor. I have the Greatest common...
I go to Western Michigan. Are you in CS 104?
O.k. So i forgot to attach what I have so here it is.
O.K. We had to create a program that would add, subtract, multiply and dvide fractions. I created a program that will do this. The only problem is that the program has to use classes. I am not sure...
It is decoding the charechters one at a time. So i want it to enter one charechter at a time into decodeOut. The problem is that the way I have it set up the only charechter that shows up in...
trans is a bunch of charechters. What it is doing is decoding a message and calling it trans. Then that has to be put in to the file.
Thanks for nay help, Kyle
That is not supposed to be the face there it is supposed to be
: : o without the spaces in it.
Ok i have to output a translation into a file called decodeOut. I am having troubles doing this. Here is what I have wrote and it doesnt work. trans is what I want to put into decodeIn.
ofstream...
What is going on is that there is a whole encoded message. I want it so that when you run the program it reads one charechter at a time in the encoded message. After it reads the charechter it should...
O.k. I have to creat an if statement that will change one charechter to another for decoding. The key for the decoding is in an array and everything else is setup. Here is what I have for my if...
O.k. I found out what is wrong with my program that I am writing but just dont know how to do what i need. I am trying to decode a message. I have the key set up as an array and I have the part setup...
Hello again, I have been working on this now for a while and I am completly confused. so far I have the array set up and the encoded message in the program. I tried writing if/else statements to...
Ok, i have to create a program that will decode a message. I have the key and everything but have now idea on where to begin on setting the program up. I know there has to be a part of the program...
O.k. Thank you for the help. That was the problem. After soving that problem though another one arose. That is the fact that I belive my turtle is starting out in the top left corner. It is supposed...
Ok here is my full code.
I have an array that is char floor[20][20]. I am using x and y as the variables in the array and I want to print the array to the screen. I read over the section on here about arrays and I just dont...
getYear() prompts the user for a year. Then the user inputs a year.
Here is my getYear() function:
int getYear()
{
int yr;
while (yr <= 1582 || yr >= 4000)
{
std::cout<<"Enter in a year between and not including 1582 and...
HEllo, I need to call a function up twice withing another function. My problem is the fact that the second itme I call it up it overwrites the first one. Here is what I have for the code (getYear()...
Surprise Surprise I am having problems once again. Any help is apreciated. Here is my full code so far. The code compiles but then here is what I get when i do a.out (The s and the 1600 are hte user...
Are you saying that where ever I have int LeapYear; i should have bool LeapYear; plus in the line that has the error message i should have:
if (isLeapYear() == true)
instead of:
if (LeapYear()...
Thank you very much for the help. That was the problem but now i have hit another problem. Any help would be appreciated once again. here is the problem:
Now i am getting a message that says:...
Well I figured out why i was having so much trouble before with my code but now I have a new problem. I am getting a message when I compile it that says: invalid operands `int ()()' and `int' to...
Ok here is what I got, I am still stuck on it and it makes me mad. I hate not being able to figure something out. This is supposed to be an intro to C++ class but i think the teacher is making it...