Sep 11, 2007 #1 H hemant2007 Member level 2 Joined Jan 14, 2007 Messages 43 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,286 Activity points 1,537 can anyone tell me or ggive me links related to RANDOM NUMBER GENERATION USING C LANGUAGE ? Thank you
can anyone tell me or ggive me links related to RANDOM NUMBER GENERATION USING C LANGUAGE ? Thank you
Sep 11, 2007 #2 avimit Banned Joined Nov 16, 2005 Messages 412 Helped 91 Reputation 182 Reaction score 23 Trophy points 1,298 Location Fleet, UK Activity points 0 you can use the function rand(); Example: int cc; cc = rand(); Kr, Avi
Sep 11, 2007 #3 RBB Full Member level 5 Joined Jul 2, 2007 Messages 303 Helped 71 Reputation 142 Reaction score 36 Trophy points 1,308 Location USA Activity points 2,560 Are you looking to write your own random number generator for an embedded system?
Sep 11, 2007 #4 andre_luis Super Moderator Staff member Joined Nov 7, 2006 Messages 9,593 Helped 1,190 Reputation 2,399 Reaction score 1,207 Trophy points 1,403 Location Brazil Activity points 55,670 Don't forget to choice an assincronous seed, external to the uControler. In some cases, you can use A/D input to get it. +++
Don't forget to choice an assincronous seed, external to the uControler. In some cases, you can use A/D input to get it. +++