Groups
Sign in
Groups
A++ Group
Conversations
About
Send feedback
Help
Generate random number in C++
2 views
Skip to first unread message
Shajahan ES
unread,
Sep 6, 2011, 11:19:43 PM
9/6/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to A++ Group, pranith...@rediffmail.com
the function is : int rand ( void );
Library : <cstdlib>
Returns a pseudo-random integral number in the range 0 to RAND_MAX.
for more details , see :
http://goforaplusplus.wordpress.com/2011/09/07/generate-random-number-in-c/
reference :
http://www.cplusplus.com/reference/clibrary/cstdlib/rand/
Shafeeq K
unread,
Sep 7, 2011, 9:45:29 AM
9/7/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to goforap...@googlegroups.com
Since we are discussing rand() function, here's a hilarious comic too
hard to miss at the moment:
http://xkcd.com/221/
Cheers,
Shafeeq
Reply all
Reply to author
Forward
0 new messages