Re: strtoint
From: Profetas (xuxu_18_at_yahoo.com)
Date: 07/26/04
- Next message: Peter Nilsson: "Re: strtoint"
- Previous message: Al Bowers: "Re: strtoint"
- In reply to: Al Bowers: "Re: strtoint"
- Next in thread: Giorgos Keramidas: "Re: strtoint"
- Reply: Giorgos Keramidas: "Re: strtoint"
- Reply: Gordon Burditt: "Re: strtoint"
- Reply: Al Bowers: "Re: strtoint"
- Reply: Chris Torek: "Re: strtoint"
- Reply: Emmanuel Delahaye: "Re: strtoint"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 25 Jul 2004 20:55:06 -0400
>Well that is not a bad approach. However the magic numbers 65 and 25
>trouble me. Why not make an array of the set of characters you want
>to be in the random string and then randomly select from the set of
Well they aren't so magic 65 is equal to A and 25 is the range
of the Alphabet :-) so the generated string will be between
(A-Z)
- Next message: Peter Nilsson: "Re: strtoint"
- Previous message: Al Bowers: "Re: strtoint"
- In reply to: Al Bowers: "Re: strtoint"
- Next in thread: Giorgos Keramidas: "Re: strtoint"
- Reply: Giorgos Keramidas: "Re: strtoint"
- Reply: Gordon Burditt: "Re: strtoint"
- Reply: Al Bowers: "Re: strtoint"
- Reply: Chris Torek: "Re: strtoint"
- Reply: Emmanuel Delahaye: "Re: strtoint"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|