Ernest Clyde Chua
Newbie level 6
- Joined
- Jul 29, 2014
- Messages
- 13
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 69
hi im new to c and mikroc,
im having troubles with joining two strings, can some one help\teach me how it is done?
heres my code:
i cant compile the code what is wrong in my code?
also im trying to print it on the lcd like this:012
- - - Updated - - -
i change it in to this
it displays wierd symbols
im having troubles with joining two strings, can some one help\teach me how it is done?
heres my code:
Code:
d=12;
IntToStr(d, dtemp);
txt=strcat("0",dtemp);
LCD_Out(2, 1,txt );
also im trying to print it on the lcd like this:012
- - - Updated - - -
i change it in to this
Code:
d=12;
m=0
IntToStr(d, dtemp);
IntToStr(m, mtemp);
strcat(dtemp, mtemp);
LCD_Out(2, 1, dtemp);
Last edited: