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.

How to use random function so its output is a character ?

Status
Not open for further replies.

yanne

Newbie level 4
Newbie level 4
Joined
Aug 10, 2004
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
45
random function

i need help badly... does anyone know how to make use of random function so its output would be character not an integer??? pls help me tnx! :( :cry:
 

Re: random function

Hi,
Use a random funtion.
conert it to int by scaling or by dividing.
Typecast to char.
B R M
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top