![]() |
Generating 250,000 random codes
Has anyone got any suggestions on software to generate a quarter of a million random codes? Bit of a tight deadline so I don't have time to do the usual auditing of software.
|
I liked the part where you posted the requirements for the codes.
5 star thread, will print it and save it to read it to my grandchildren |
Quote:
It wasn't a trick question. I really do want to know about some software that can generate a lot of random codes, I promise. |
for (int i=1,i=500000,++i)
{ srand(1); cout |
qbasic
|
[quote]for (int i=1,i=500000,++i)
{ srand(1); cout |
For quick and dirty results you could run this a few times.
http://www.random.org/strings/ Sure, not quite as fancy as you need but free and easy. |
Quote:
|
I appreciate that but the database you make out of it could deduplicate it for you.
|
Quote:
just run this from a server, save the output, deduplicate in dbase (or spreadsheet, whatever) ---------------------------- --------------------------------------
|
All good suggestions, but we really need some commercial software so that any of the account managers running a promotion can generate a set of codes that meet client approval without having to interrupt a developer. It doesn't sound like a big hassle, but it will more efficient.
|
C#:
Code: Code:
for (int i=0; i < 250000; i++){ Console.WriteLine(Guid.NewGuid().ToString("D"));} http://msdn.microsoft.com/en-us/libr...m.guid.newguid http://msdn.microsoft.com/en-us/library/97af8hh4 |
All times are GMT +1. The time now is 03:40 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2