Software Design
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreSoftware Design

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 30th, 2003, 11:12 PM
wizards wizards is offline
The Wizard
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 128 wizards User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
generating strings

hi,

can anyone pls tell me an algorithm to generate strings... it should be ale to generate a string of any length and it should be able to generate it like this:

character set [a-z][0-9][A-Z]


a
b
.
.
.
z
aa
ab
.
.
.
az
ba

if that algorithm can take character sets to generate strings... that will be great

thanks
__________________
Stand out for justice as witnesses to God

Reply With Quote
  #2  
Old May 31st, 2003, 04:39 AM
heinrich's Avatar
heinrich heinrich is offline
digital sinner
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: sinner's land
Posts: 68 heinrich User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 37 m 30 sec
Reputation Power: 6
Send a message via Yahoo to heinrich
this is one the most simple implementations of a backtrackiong algorithm. i've talked about it in a previous Topic. just look on the net for BACKTRACKING ALGORITHM. it's easy to understand and it will create all the possible solutions.
but i'm opened to any more questions about it

Reply With Quote
  #3  
Old May 31st, 2003, 05:46 AM
wizards wizards is offline
The Wizard
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 128 wizards User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
thanks for the info heinrich : )

Reply With Quote
  #4  
Old June 7th, 2003, 03:02 PM
csaba csaba is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: NYC
Posts: 79 csaba User rank is Private First Class (20 - 50 Reputation Level)csaba User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Dang,

I always thought that the thing to do was to go to the top column of Excel (in RC notation) and get the next exntry from there.

Csaba Gabor

Don't get in a huff - it's a joke.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreSoftware Design > generating strings


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT