I have a programming question to generate an ordered list of
alphanumeric strings of length 4.
>From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then
AAAA - ZZZZ 3 5854
Sniff, Sniff, Sniff... smells like homework :-)
Do you have an algorithm in mind and are unsure how to write it in C#? I am
sure if you post that with specific language issues, people will be pleased
to help.
Mark.
-- http://www.markdawson.org http://themightycoder.spaces.live.com
"do**********@g mail.com" wrote:
I have a programming question to generate an ordered list of
alphanumeric strings of length 4.
From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then
AAAA - ZZZZ
See my response in dotnet.general
Tom Dacon
Dacon Software Consulting
<do**********@g mail.comwrote in message
news:11******** *************@7 9g2000cws.googl egroups.com...
>I have a programming question to generate an ordered list of
alphanumeric strings of length 4.
>>From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then
AAAA - ZZZZ
nope not hw, it's for work.
On Dec 22, 6:50 pm, "Tom Dacon" <T...@dacons.co mwrote:
See my response in dotnet.general
Tom Dacon
Dacon Software Consulting
<dohyohdoh...@g mail.comwrote in messagenews:11* *************** *****@79g2000cw s.googlegroups. com...
I have a programming question to generate an ordered list of
alphanumeric strings of length 4.
>From 0000 to ZZZZ, numbers first, then one alphabet rest numbers, then
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then
AAAA - ZZZZ
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jim Cobban |
last post by:
I cannot get Netscape 4.79 to properly display the ordered list in the
following fragment.
<P>Get a specific portion of the date.
Depending upon the value of index:
<ol start=0>
<li>complete value, usually as a <code>String</code>, or if
an integral value as an <code>Integer</code>.
<li>year as an <code>Integer</code>
<li>month number as an <code>Integer</code>
|
by: Crirus |
last post by:
Is there a function that return some random ID like string alphanumeric?
Like this:
A35sDsd1dSGsH
Thanks
Crirus
|
by: Fuzzyman |
last post by:
Sorry for this hurried message - I've done a new implementation of out
ordered dict. This comes out of the discussion on this newsgroup (see
blog entry for link to archive of discussion).
See the latest blog entry to get at it :
http://www.voidspace.org.uk/python/weblog/index.shtml
Criticism solicited (honestly) :-)
We (Nicola Larosa and I) haven't yet made any optimisations - but there
|
by: Girish Sahani |
last post by:
I have a list of strings all of length k. For every pair of k length
strings which have k-1 characters in common, i want to generate a k+1
length string(the k-1 common characters + 2 not common characters).
e.g i want to join 'abcd' with bcde' to get 'abcde' but i dont want to
join 'abcd' with 'cdef'
Currently i'm joining every 2 strings, then removing duplicate characters
from every joined string and finally removing all those strings...
|
by: dohyohdohyoh |
last post by:
I have a programming question to generate an ordered list of
alphanumeric strings of length 4.
two alphabets rest numberst, etc.
EG 0000-9999 then A000-Z999 then AA00 to ZZ99 then AAA0 - ZZZ9 then
AAAA - ZZZZ
| |
by: Robert Mago |
last post by:
Is there a way to create a 10 characthers or less, alph-numeric string which
is unique. I can't use the guid since its longer then 10 characthers. Also i
cannot use a random number, since being random does not mean that its
unique.
|
by: Marc |
last post by:
Hi all,
I have to generate and send to a printer many 6 digit
alphanumeric strings. they have to be unique but I cannot check in a
database or something like that if it have already been printed. the
string has also to seem a random one and it cannot have an apparence
of a sequence.
My first approach is to do it with a decimal counter and find
and use an encryption alghorithm that converts each 6 digit decimal
number to a 6 digit...
|
by: etal |
last post by:
Here's an algorithm question: How should I efficiently merge a
collection of mostly similar lists, with different lengths and
arbitrary contents, while eliminating duplicates and preserving order
as much as possible?
My code:
def merge_to_unique(sources):
"""Merge the unique elements from each list in sources into new
list.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |