Hey guys, I'm tryin' to make an alphabet soup on C programming, and I'm stuck with a problem.
I need to make a function able to automatically find all the words that exist in alphabet soup, any helps?
Hey guys, I'm tryin' to make an alphabet soup on C programming, and I'm stuck with a problem.
I need to make a function able to automatically find all the words that exist in alphabet soup, any helps?
Yes - be careful not to spill any soup on your keyboard. You need a USB-to-bowl converter to receive the soup data into your program.
Kidding aside, can you be more descriptive of the rules? I don't know of any rules for "alphabet soup". Do you want to make words with any of the given letters, or only adjacent/connected letters, or only letters on your spoon? Can the same letter be used more than once in a single word, or in multiple words for that matter?
I'm assuming you attempted this before asking for help - you should provide any code you've tried along with specific questions on where exactly you're having trouble.
What is an "alphabet soup" in this context? In other words, you should describe in greater detail what you are trying to do.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
An alphabet soup is simply a grid of letters where you want pamines. Normally, this demand is made in three directions: horizontal, vertical and diagonal. But, in this case, we can also use the horse step (like in chess), and the serpent step.
Okay, I understand "grid of letters". However, I have never come across the word "pamines", and in fact a quick search through both an online dictionary and the dictionary on my shelf reveals that there is no such word commonly used in the English language. I guess that this is either a special term used in this "alphabet soup" game, or is untranslated from some other language that you use. Either way, you need to explain it.Originally Posted by Luis Ribeiro
Right. If I understood what are "pamines", I presumably would understand this, so that's fine.Originally Posted by Luis Ribeiro
It so happens that I am a chessplayer, so I have an idea what "the horse step (like in chess)" might mean. However, you need to explain it. This explanation is not just for the benefit of the reader, but for yourself as it will give you a clearer idea of what you are trying to do. Oh, and I have no idea what is the "serpent step".Originally Posted by Luis Ribeiro
"The most important single aspect of software development is to be clear about what you are trying to build." - Bjarne Stroustrup
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)