Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Random Number Generation using C language

Status
Not open for further replies.

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
 

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
 

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?
 

andre_luis

Super Moderator
Staff member
Joined
Nov 7, 2006
Messages
9,479
Helped
1,183
Reputation
2,385
Reaction score
1,181
Trophy points
1,403
Location
Brazil
Activity points
54,952
Don't forget to choice an assincronous seed, external to the uControler.
In some cases, you can use A/D input to get it.

+++
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top