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
 

you can use the function rand();
Example:

int cc;

cc = rand();


Kr,
Avi
 

Are you looking to write your own random number generator for an embedded system?
 

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top