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.

covert integer to string datatype

Status
Not open for further replies.

sensde

Newbie level 3
Joined
Jun 15, 2005
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,313
hi !everyone

Can anyone tell me the library function of itoa fuction..???coz i can't find the lib prototype..Or can tell me how to convert integer to charater variable....or convert integer to string data type


thanks...
 

use sprintf function to convert int to string

ie

char string[20];
int a = 23;
sprintf(string,"%d",a);
 

Character variable? String? What language are you talking about?
aamiralikhoja gave a C answer.
 

hi!

Thanks...i try the method..first....i am using C language in KEILC software...I use DS89C450..chip...
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top