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 add int in some char array

Status
Not open for further replies.

ehsanelahimirza

Full Member level 6
Full Member level 6
Joined
Feb 24, 2006
Messages
334
Helped
28
Reputation
56
Reaction score
7
Trophy points
1,298
Activity points
3,570
how to add an int to a char *

hi all

i want to add 3 int variables
year
month
date

in a char array like

year_month_date

how i colud do that plz help me
 

Hi

IN C
convert each value to string using function like ecvt
then concatenate the 3 strings using function like strcat

Salam
Hossam Alzomor
www.i-g.org
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top