Algorithm for generating Alphanumeric characters
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hello, I would like to know if anyone can help me out in generating an algorithm which gives alphanumeric characters. Regards, Mythri
-
Hello, I would like to know if anyone can help me out in generating an algorithm which gives alphanumeric characters. Regards, Mythri
-
Hello, I would like to know if anyone can help me out in generating an algorithm which gives alphanumeric characters. Regards, Mythri
Something like:
char RandomNumber( void )
{
return (rand() % 10) + 48;
}char RandomUpper( void )
{
return (rand() % 26) + 65;
}char RandomLower( void )
{
return (rand() % 26) + 97;
}
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow