Content originally posted in LPCWare by frame on Thu May 31 04:20:39 MST 2012
Quote:
[B]strcpy(msg,"Sent From MCU" +char(26));[/B]
What is this ?
You don't want to use BASIC or C#, do you ?
C does not have a dedicated string data type, only character arrays.
Look for the [B][FONT=Courier New]strcat()[/FONT] [/B]manpage, how to concatenate 'strings' together.
As cmcquaid suggested, you can embed character constants in strings with a leading backslash, either octal ('\0<nn>'), decimal ('\<nn>') or hexadecimal ('\0x<nn>').