how do you add two random numbers in c++

C++
https://www.daniweb.com/programming/software-development/threads/74706/how-to-add-random-numbers
Source

Also in C++: