Re: strtoint

From: Profetas (xuxu_18_at_yahoo.com)
Date: 07/26/04


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)



Relevant Pages

  • Re: strtoint
    ... 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 ... newsgroup, with readers that use various implementations, that ...
    (comp.lang.c)
  • Re: strtoint
    ... 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 ... int main ...
    (comp.lang.c)
  • Re: strtoint
    ... >>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 ...
    (comp.lang.c)
  • Re: strtoint
    ... >>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 ...
    (comp.lang.c)
  • Re: sending array with POST from a hidden input form field?
    ... be safe (like if you are transferring secret US government data:P), ... Generate a random string. ... Serialize the array you are transferring and store it in a file with ... This method is relatively safe as well as it will be difficult to guess ...
    (comp.lang.php)