I am getting the error:
tester.cpp|20|error: 'rand' was not declared in this scope|
Did I miss to include something here?
void tester::volumeset(bool A_B, int i, int v)
{
if (A_B == true)
{
A_volumn[i] = rand(v+1);
}else{
B_volumn[i] = rand(v+1);
}
}