Array decay: Difference between revisions

m
→‎Taking advantage: Fixing a typo in my totally legit code snippet.
(Created page with "Those familiar with the concept of [http://stackoverflow.com/questions/1461432/what-is-array-decaying array-to-pointer decay] (or just array decay) may be surprised to fin...")
 
m (→‎Taking advantage: Fixing a typo in my totally legit code snippet.)
Line 50: Line 50:
   {
   {
     c[0] = Random(25) + 65; // generate random character 'A'-'Z'
     c[0] = Random(25) + 65; // generate random character 'A'-'Z'
     if (StrContains(buffer, c) == -1)
     if (StrContains(key, c) == -1)
     {
     {
       buffer[i] = c[0];
       buffer[i] = c[0];
190

edits