C++ problem help Programming Software Development by parrishnewbie … { //Declaring values. string oneWord, twoWord, threeWord, fourWord, fiveWord, fullWord; //Assigning values oneWord = "One"; twoWord = "… = "Five"; // Now we will define the full word fullWord = oneWord + ", " + twoWord + ", " + threeWord + &… Simple Hangman Game Programming Software Development by Lil' Tripsturr … it off Help with Code Tags (Toggle Plain Text) [code] fullword = "jungle"; word = ("j","u"… (checker = word[6]) { win = true; } } print "You win!"; fullword = "jungle"; word = ("j","u"… Re: Simple Hangman Game Programming Software Development by qinise4 … start it off Help with Code Tags (Toggle Plain Text) fullword = "jungle"; word = ("j","u"… (checker = word[6]) { win = true; } } print "You win!"; fullword = "jungle"; word = ("j","u"… Re: C++ problem help Programming Software Development by kes166 Hi, Put your code in code tags, it helps when reading. The answer is staring you in the face. [code] fullWord = oneWord + ", " + twoWord + ", " + threeWord + ", " + fourWord + ", " + fiveWord; [/code] Change the order of that to get your answer. Changing output color? Programming Software Development by carmstr4 …, wrongSpot): # Format the letters so user knows whats wrong/right fullWord= real # Create copy list of real word realWord= list…(fullWord) # Create index start point index= 0 # Iterate for each letter … Re: Simple Hangman Game Programming Software Development by qinise4 … off > Help with Code Tags > (Toggle Plain Text) fullword = "jungle"; word = ("j","u"… Re: Simple Hangman Game Programming Software Development by Lil' Tripsturr … also written some pseudo code to start it off [code] fullword = "jungle"; word = ("j","u"… Re: C++ problem help Programming Software Development by Fbody Please figure out your [URL="http://www.daniweb.com/forums/announcement8-3.html"][B][COLOR="red"][noparse][CODE]...code tags...[/CODE][/noparse][/COLOR][/B][/URL], then maybe we can help. [CODE] #include <iostream> int main() { std::cout << "This looks nice, and is easily readable." << std::… Re: Simple Hangman Game Programming Software Development by jonc That doesn't look like Classic VB (4/5/6) to me... Is it .NET? Re: Simple Hangman Game Programming Software Development by Lil' Tripsturr ^^^i dont know ,all i know is that i need help with making a Hangman game for my 7 year old kid and its in microsoft visual basic 6.0 ,can someone please help me, i asked for help a week ago and still have recieved none!! no1 has guided me to the correct forums or anything !! Re: Simple Hangman Game Programming Software Development by jonc Sorry, left my eyes in bed yesterday... I just re-read through and saw you did say psuedo code... duh @ me :( For information, this is the right forum for VB6. I'll have a read through it tomorrow and see if I can come up with something for you. It's just after 1am here now and I've had a few drinks, so chances are I'd fail miserably if I tried … Re: Simple Hangman Game Programming Software Development by jonc Hm, can't edit my last post... I presume it was a while ago at least. Apologies if this is a bit rough around the edges, but as I said before, I am a little rough around the edges myself at the moment *hic* ;) I've got the concept working, I'll have another look tomorrow evening, but it should get you started. I've created a form which … Re: Simple Hangman Game Programming Software Development by Lil' Tripsturr ^^thank u so far im trying it myself now,ill post later Re: Simple Hangman Game Programming Software Development by jonc This actually got me thinking... and gave me something to try out. To be honest, it will come in extremely useful for my son to play on when he gets a little older :) I've completed it with a bit of a hangman aswell. Again, perhaps not the cleanest code, I would have used a control array for the shapes but for the head being a circle, but … Re: Simple Hangman Game Programming Software Development by Lil' Tripsturr ^^gr8 job so far,but there are a few things that could be improved ,id do them myself but im a novice... is it possible to not be able to type into the top text box,as i dont think its neccessary because it can be wiped etc. i think it would be better if there was a button that can clear the text box.Maybe it should be a label instead so there is … Re: Simple Hangman Game Programming Software Development by jonc You could lock the top text field ("Locked" in the properties when looking at the form in VB) to stop the text field being edited. Needless to say, if a correct character is entered after the top box is changed, it would reset it to what it should be anyway. Changing what is in that box would not give you the ability to cheat, put it … Re: Simple Hangman Game Programming Software Development by aktharshaik Mr. jonifen u have a good knowledge of VB. its gr8. try to make the game more interesting. you have made the hangman to appear letter by letter. ok. if the word is only 4 letters long? what if the word would have to be 7 letters long? i am also trying out a little bit on this. u can plz find some better soln very soon from me. regards, Shaik … Re: Simple Hangman Game Programming Software Development by aktharshaik U CAN FIND SOME INTERESTING CODE HERE. [url]http://www.vb6.us/source-code/full-hangman-game-vb6[/url] Re: Simple Hangman Game Programming Software Development by aktharshaik To limit the entry of more than one letter, just set the maxlength property of the textbox to 1. to limit the entry of characters from "a through z" only use the [COLOR="Red"][B]TextBox_KeyPress()[/B][/COLOR] event. Re: Simple Hangman Game Programming Software Development by jonc aktharshaik, I had made my version to work with any length of word. What I didn't take into account was multiple words (to form phrases etc.) - I only really noticed that when I looked at the URL you posted for a Hangman game in complete form (which I have to say is an excellent example :) Thanks for sharing that link). Finally, thanks for … Re: Simple Hangman Game Programming Software Development by Lil' Tripsturr thank u guys for the help so far im currently attempting a hangman game for my son which is 1 player with preset words.Its all good so far,ill post it wen its completed. But i need help with... making a label that shows the amount of guesses,and one that shows the correct guesses any tips?? Re: Simple Hangman Game Programming Software Development by jonc For capturing good/wrong guesses, you could piggy back onto the code which either draws another limb onto the Hangman, or updates the text boxes for a valid guess. There is something similar in the code which aktharshik linked us to which tracks the amount of games played, and the amount won. You could use similar functionality for the guesses. Re: Simple Hangman Game Programming Software Development by Lil' Tripsturr cool thanx so far,im keen for new ways for me to improve the game ,any suggestions?? Re: Simple Hangman Game Programming Software Development by Lil' Tripsturr i have fixed the problem already ,don't worry guys! I am still updating the game so keep checking back !! Re: Simple Hangman Game Programming Software Development by jonc [QUOTE=Lil' Tripsturr;676687]Ive just hit a wall in the game that a user submitted here ,ive made some changes to it such as not being able to interfere with the label at the top,not being able to type in the guess box until a word is entered,and ive made a "new word" button that clears the word text at the top .BUT when it is clicked,the… Re: Simple Hangman Game Programming Software Development by Lil' Tripsturr ^^alright thanx Re: Simple Hangman Game Programming Software Development by Lil' Tripsturr have found a really interesting ,but simple hangman game on the net but i am really confused to how it actually works ,i would like to re-create it for myself but first i would need to understand it.it seems to use complicated code ,but there is much of it and the creator hasnt labeled all the pieces of code so it doesnt help.If u cud help me to … Re: Simple Hangman Game Programming Software Development by aktharshaik Hi! String$ is used to output a string by the specified length for the given character in the second parameter. Ex: text1.text = String$(10,"*") will fill the textbox with ten * Regards Shaik Akthar Re: Simple Hangman Game Programming Software Development by aktharshaik UCASE Converts the given string to uppercase. Ex Dim x as string x = "America" text1.text = UCase(x) here text1 will display the word in variable x but in upper case "AMERICA" Regards Shaik Akthar Re: Simple Hangman Game Programming Software Development by aktharshaik [COLOR="Red"][B]Call[/B][/COLOR] keyword is used to call any procedure by its name but its purely optional like u can write [code] Call txtGuess_Change [/code] or just [code] txtGuess_Change [/code] Regards Shaik Akthar