cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Random char array generator
Random char array generator
Dec 12, 2012 at 9:42am UTC
closed account (
L6k21hU5
)
I was wondering if some one could help me out and let me know what I am doing wrong. I am new c++ so it would be a great help, not looking for the full code just a push in the right direction.
Last edited on
Dec 13, 2012 at 12:04am UTC
Dec 12, 2012 at 10:14am UTC
modoran
(2077)
Add srand (time(NULL)); as first line inside main() oe else you will always generate the same numbers.
Topic archived. No new replies allowed.