Search:

Type: Posts; User: Kamarill

Search: Search took 0.00 seconds.

  1. I believe what your code does, if my knowledge...

    I believe what your code does, if my knowledge doesn't fail me, is it checks to see if the character is a letter. If so, returns the upper letter character's ASCII value minus the ASCII code value of...
  2. At first, I had no idea what you meant. It just...

    At first, I had no idea what you meant. It just clicked. For anyone else's reference, the problem was solved by adding this line of code:


    strcat (theword, word); // converts char * to char
    for...
  3. Hangman program randomly outputs question marks at the end of output

    So basically, I'm doing a hangman C++ program as a class assignment. But the problem is, three of the words (wyvern, scythe, and duckboards) all output question marks at the end of their outputs,...
  4. Replies
    10
    Views
    2,675

    The program receives two variables, specialty1...

    The program receives two variables, specialty1 and specialty2. specialty1, I've found, must be 0, 1, 2, 3, 4, 5, or 6, but the specialty2, the second part of the choices array, can be as large as 49....
  5. Replies
    10
    Views
    2,675

    For some reason, the cout seems to still work,...

    For some reason, the cout seems to still work, actually. As for the other functions, they have been changed to voids. Thanks.
  6. Replies
    10
    Views
    2,675

    That's what I thought too, so I changed it. But...

    That's what I thought too, so I changed it. But it doesn't matter what I put for the second number, as long as it isn't too huge. Is this because it's a two dimension array?
  7. Replies
    10
    Views
    2,675

    Program closes as soon as it opens?

    I can't figure it out at all. I'm using Dev C++: for those who don't know, system("PAUSE"); is used to keep the console window open.

    For clarification: it's one of those Windows errors that say it...
Results 1 to 7 of 7