Search:

Type: Posts; User: simhap

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    1,495

    Thanks for the help. It did not work but the...

    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...
  2. Replies
    3
    Views
    1,495

    error calling function

    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...
  3. Thread: Classes

    by simhap
    Replies
    4
    Views
    923

    I go to Western Michigan. Are you in CS 104?

    I go to Western Michigan. Are you in CS 104?
  4. Thread: Classes

    by simhap
    Replies
    4
    Views
    923

    O.k. So i forgot to attach what I have so here it...

    O.k. So i forgot to attach what I have so here it is.
  5. Thread: Classes

    by simhap
    Replies
    4
    Views
    923

    Classes

    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...
  6. Replies
    7
    Views
    1,142

    It is decoding the charechters one at a time. So...

    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...
  7. Replies
    7
    Views
    1,142

    trans is a bunch of charechters. What it is doing...

    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
  8. Replies
    7
    Views
    1,142

    That is not supposed to be the face there it is...

    That is not supposed to be the face there it is supposed to be
    : : o without the spaces in it.
  9. Replies
    7
    Views
    1,142

    outputting to a file

    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...
  10. Thread: if statements

    by simhap
    Replies
    2
    Views
    1,126

    What is going on is that there is a whole encoded...

    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...
  11. Thread: if statements

    by simhap
    Replies
    2
    Views
    1,126

    if statements

    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...
  12. Replies
    1
    Views
    1,104

    reading one charechter at a time

    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...
  13. Replies
    3
    Views
    1,261

    Hello again, I have been working on this now for...

    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...
  14. Replies
    3
    Views
    1,261

    decoding/encoding

    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...
  15. Replies
    6
    Views
    4,172

    O.k. Thank you for the help. That was the...

    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...
  16. Replies
    6
    Views
    4,172

    Ok here is my full code.

    Ok here is my full code.
  17. Replies
    6
    Views
    4,172

    Printing an Array to the screen

    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...
  18. Replies
    5
    Views
    5,726

    getYear() prompts the user for a year. Then the...

    getYear() prompts the user for a year. Then the user inputs a year.
  19. Replies
    5
    Views
    5,726

    Here is my getYear() function: int getYear() {...

    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...
  20. Replies
    5
    Views
    5,726

    calling up a function twice

    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()...
  21. Replies
    0
    Views
    2,053

    problems with output from code

    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...
  22. Replies
    5
    Views
    1,854

    Are you saying that where ever I have int...

    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()...
  23. Replies
    5
    Views
    1,854

    Thank you very much for the help. That was the...

    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:...
  24. Replies
    5
    Views
    1,854

    invalid operands

    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...
  25. Thread: Counting

    by simhap
    Replies
    5
    Views
    1,407

    Ok here is what I got, I am still stuck on it and...

    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...
Results 1 to 25 of 30
Page 1 of 2 1 2