Forum: C++ May 2nd, 2007 |
| Replies: 17 Views: 3,236 actually it was much simpler than that. the issue was here
while(getWord[i] != '\0')
{
if(isCap(getWord[i]) && !isCap(guess))
guess = guess - 32;
... |
Forum: C++ May 1st, 2007 |
| Replies: 17 Views: 3,236 actually this is not finished. I found out that I forgot to make it case insensitive and also I need to keep track of an alert on repeat guesses.
However the issue I am having is with case... |
Forum: C++ Apr 28th, 2007 |
| Replies: 17 Views: 3,236 Thanks to all of you for your help. I got it!!!
Here is the final code...
#include <iostream>
#include <cstring> //for functions to manipulate C style strings
using namespace std;
int... |
Forum: C++ Apr 24th, 2007 |
| Replies: 17 Views: 3,236 ok, I have completely changed the program. I now have three components that work seperately, but not when I attempt to mesh them.
Here is the code individually. Keep in mind that each seperate... |
Forum: C++ Apr 15th, 2007 |
| Replies: 17 Views: 3,236 I am trying to convert this
into a function, but I cannot seem to get anything but more and more errors.
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
hangman1a.cpp:
Warning... |
Forum: C++ Apr 14th, 2007 |
| Replies: 17 Views: 3,236 Ok, now I am having issues with more sections of code. The first I am trying to create a function that will take getWord.length() and will output the "_" one for each letter remaining. So if the word... |
Forum: C++ Apr 14th, 2007 |
| Replies: 17 Views: 3,236 Thanks Infarction. it fixed it. I modified code based on your suggestions as such:
// A simple little hangman type game
//
//included libraries
#include <iostream>
#include <stdlib>
#include... |
Forum: C++ Apr 14th, 2007 |
| Replies: 17 Views: 3,236 I am writing a simple (extremely simple) hangman program. Basically the user inputs a word, then they have double the number of letters in the word for guesses (for instance if the word has 7 letters... |