الخميس، 6 يونيو 2013

Function Reference rand()

Function Reference rand()

rand()
Prototype: int rand();
Header File: stdlib.h (C) or cstdlib (C++)
Explanation: rand returns a value between(inclusive) 0 and and RAND_MAX (defined by the compiler, often 32767). To get a more mangeale number, simply use the % operator, which returns the remainder of division. 

 الملفات المرفقة
الملفات المرفقة الملفات المرفقة

ليست هناك تعليقات:

إرسال تعليق