Click here to Skip to main content
       

C#

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
Questionalpha numeric charmemberMember 945456322 Nov '12 - 23:02 
how to do a program that will generate the possible combination that you had input in the textfield. and those input will appear on the listbox. for example: as i type ace in the textfield, possible combination of those letter will be cea, eac, eca, cae. those combination will be displayed in the listbox. all of it.
AnswerRe: alpha numeric charprotectorPete O'Hanlon22 Nov '12 - 23:05 
Well, the simplest way would be to use some loops and variables, and some listbox Add stuff. What more were you expecting?

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: alpha numeric charmemberMember 945456322 Nov '12 - 23:10 
how can i perform those codes
 
?
GeneralRe: alpha numeric charprotectorPete O'Hanlon22 Nov '12 - 23:12 
By typing them in at the keyboard. Are you expecting us to actually give you the answer to your homework? That's not the way it works here - you try something and, if it doesn't work, you post a section of relevant code and we help you sort that out. We don't help you cheat.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos

CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

AnswerRe: alpha numeric charmemberBobJanova22 Nov '12 - 23:27 
Voted 1 for blatant homework question. I'm sure that writing the algorithm to do permutations is the entire point of this exercise. Getting someone else to write it for you will teach you nothing, and if you keep that approach through your education you'll end up as one of the terrible developers that make our lives hell.
 
All of the pieces of an exercise are available to you, and you are supposed to be learning how to but those thoughts together. Breaking down a problem description into the pieces you need to use is one of those skills and you aren't helping anyone by asking CP to do that for you.
AnswerRe: alpha numeric charmemberV.23 Nov '12 - 0:06 
You're not really flamed for having a homework question, but for not showing you did something yourself and not being specific.
We're all professionals here doing real paid work. We're willing to help, but not at our own expense.
 
- have you googled? If you don't know the keywords to look for, that would be a specific question.
- have you tried? What did you do? What is the problem? You can't get the text as input? You can't shuffle the characters?
 
So google first, try a little (open your book, your teacher will not give an assignment of which the answer can't be found in lecture notes) and if you get stuck on specific problem, come back here.
 
(PS: would be nice to see another nickname than Member 9454563 Wink | ;) )

GeneralRe: alpha numeric charmvpRichard MacCutchan23 Nov '12 - 1:46 
V. wrote:
would be nice to see another nickname than Member 9454563
I agree, something like V. is so much more descriptive. Poke tongue | ;-P
One of these days I'm going to think of a really clever signature.

GeneralRe: alpha numeric charmentorDaveAuld23 Nov '12 - 3:02 
Laugh | :laugh:
Richard MacCutchan wrote:
I agree, something like V. is so much more descriptive.

 
How do you know his name isn't V?
Dave
Find Me On: Web|Facebook|Twitter|LinkedIn

Folding Stats: Team CodeProject


GeneralRe: alpha numeric charmemberV.23 Nov '12 - 3:23 
Yes, it is actually, it distinguishes me from being member 123456. Big Grin | :-D

GeneralRe: alpha numeric charmvpRichard MacCutchan23 Nov '12 - 5:22 
But you are Member 1008736!
One of these days I'm going to think of a really clever signature.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 23 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid