??? 12/28/05 16:45 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#106102 - Clarify Responding to: ???'s previous message |
Andy Neil said:
printlcd(0, strcat("Hello", " world"));Only "Hello" word was displayed on the lcd display. This should come as no surprise! The "Hello" and "world" in your example are string constants; they cannot be modified - that's what "constant" means! Just to be clear, the second argument to strcat can be a string constant but the first must not bee. Ian |
Topic | Author | Date |
Strings Manipulation in SDCC | 01/01/70 00:00 | |
Include ? | 01/01/70 00:00 | |
#include | 01/01/70 00:00 | |
Debug it! | 01/01/70 00:00 | |
check out Andy's doubt. | 01/01/70 00:00 | |
Hello World | 01/01/70 00:00 | |
Try this. | 01/01/70 00:00 | |
Bad! | 01/01/70 00:00 | |
Clarify![]() | 01/01/70 00:00 |