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...
Type: Posts; User: Kamarill
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...
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...
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,...
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....
For some reason, the cout seems to still work, actually. As for the other functions, they have been changed to voids. Thanks.
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?
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...