0
C problem
Hello guys I wanted to create an alphabetic array with out. writing all of it like abcdefg..... so how is it done ?
2 Respostas
+ 4
You declare a char array of size 26, and use a for loop to initialize the array by iterating from 97 to 122 (lowercase a - z ASCII).
http://www.asciitable.com/
+ 1
Hatsy Rei so I will just compare THE_STRING[i] < 122 &&the_string[i]> 97? to make sure a password have at least one uppercase letter ?