Hello I am new here and I have a problem... I have tried to write a random addition problem generator and my rand()'s always produce 8 for the first number and 2 for the second. I have looked into the basics of rand() number generation but nothing ive found is actually at the basic level. I hope this is not some completely simple mistake and apologize in advance if that is the case. Here is my code:
Wow OK and here i was raging over how every tutorial was about system time. Anyway is there any chance this is a new development because I did use c++ several years ago and I don't remember having to call srand. to generate a random number although I guess I could have just forgot that detail.