Manual ASCII Checker?

Hey guys, I have sort of a simple sounding thing I would like for some help to accomplish on C++. I'm using Dev-C++ and I wanted to make a system that cycles through all of the lower case letters (ASCII 97-122) and have it go certain lengths, for example:

a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, ax, aaa, aab... etc.

I would like to be able to assign the length it'll go all the way for a certain letter before switching to another first letter. You know? Could someone please guide me in the right direction?

Thanks!
If you looped between i=97 and i<123 you could print all the lower case letters. With two loops you could print up to 'az' and five loops up to 'aaaaz'. A switch construct may be a convenient way of controlling the number of loops required.
Topic archived. No new replies allowed.