Message from C, C++ talks

June 2019

— This is probably how you should be doing it, if using C++

— Hey I have a doubt can I PM you?

— You could ask here so more people can help, but ok

— I have no knowledge in programming can I get some knowledge here?


Okay then here, What will happen if I pass a random char to srand (as argument) then that will act as seed and then which in turn again generate another random char

— Well there wouldn't be a clear correlation between the two characters

— If chars don't work then some number

— But you could do it

— I don't want also

— You could pass time(NULL)

— If you want it to be random then what Rostin said is generally a good idea

— But rand still has the issue of numbers not being distributed evenly

— So if you run it many times you might see certain values being more common than others

— Yeah I did see

— I want to do coding
But i cant plz suggest something ........