Hi all,
I'm new to C++ and am having a problem with a piece I am writing for an assignment. The problem area is below.
//arrival process on the corporate links
if (clock % 4 == 0)
{
double randomno
randomno = randgen; // Generate random number
if (randomno /100 <= p3) queue = queue + 3;
randgen will generate a random number, it has a variable double register random
Problem is with line randomno = randgen ........
The error is 104 .cpp cannot convert `double ()()' to `double' in assignment
Any help much appreciated!!