4 digit unique number generator
- From: "linuxdude" <easylinux@xxxxxxxxx>
- Date: 16 Dec 2006 11:21:01 -0800
Hi everyone,
I am working on an embedded linux project that requires me to generate
a unique 4 digit code based on my device id.
My device ID could go from 1 - 1024. Is there a simple mathametical
formula that I could use to generate the required number. I try to
write something on my own and I am not successful at generating unique
numbers.
Any help is much appericiated! Thanks everyone!
EZ
.
- Follow-Ups:
- Re: 4 digit unique number generator
- From: Grant Edwards
- Re: 4 digit unique number generator
- Prev by Date: Re: How to emulate ARM CPUs by QEMU
- Next by Date: Re: 4 digit unique number generator
- Previous by thread: application with message translation (localization)
- Next by thread: Re: 4 digit unique number generator
- Index(es):