Generate A Random Character | C Programming Example

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Fine video explaining the random facilities in C.

In English, using the old ASCII representation is relatively easy, because the letters comes in a nice row. When using Danish, as I do, I could use the extended ASCII earlier, but now I had to face the dominating UTF8, which is compatible with ASCII, but using more bytes and the Danish letters does not come in a row.

Maybe an idea to introduce UTF8 in a video, because as I understand, it's used almost everywhere...

grimvian
Автор

Big fan of your teaching style and your voice also

Learn_Master
Автор

Can we take advantage of the fact that each time our program runs the operating system will allocate a random space for our variables in the memory, so we can use these random memory addresses to generate random numbers like this :

char random(){
long long random = (long long )&random;
int value = (int) (random % 26 + 'A');
return (char) value;
}

justcurious
Автор

Hello, I'm your long time subscriber and viewer and I noticed that you do not have any nested programming in c such as nested loops nested for loop/while loop, please teach also them

muhammaddiymurodov
Автор

Please can you do a video like this but with cryptographically random integers? As an example in Go we have the crypto/rand package that uses under the hood urandom (native cryptographically number generator in Linux systems)

otaxhu
Автор

is it possible to do this with an array of charecters?

NikhilxD_ma
Автор

Do you think this method of generating random characters is good to create passwords?

axn