Vulnerability Development mailing list archives

Re: combinations of 4


From: KF <dotslash () snosoft com>
Date: Fri, 01 Jan 1904 04:36:53 -0759

Hah this is great... and to think a simple question like that stumped my local java AND c++ instructors. Can anyone do this in java easily and tell me why my head hurts? =]

Thanks guys I appreciate it. I will certainly share my informaiton on what does and does not have nulls.
-KF


jon schatz wrote:

On Sat, 2002-04-06 at 17:01, KF wrote:

My question is does anyone know how to programatically do this? Do i need to make use of bit shifting or something? I need only a program to print the list to the screen or something simple. Example output would be ...

AAAA
BBBBB
....
AAAB
AAAC


perl -e 'foreach (AAAA..ZZZZ) { print $_,"\n";}'

i'm sure someone on this list can golf this down, but this should be
sufficient...

-jon





Current thread: