Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/26/05 17:21
Read: times


 
#105969 - #include
Responding to: ???'s previous message
Hi Farshid,

i already using #include <string.h>, and already have been trying to use strcat, strcpy in my code, but no luck.

#include <string.h>

xdata char S1[50];

void printlcd (char Pos, char *Str)
{
while(*Str)
{
.....
}
}

void main(void)
{
strcpy (S1, "HELLO");
strcat (S1, " WORLD");

printlcd (0, S1);
}

List of 9 messages in thread
TopicAuthorDate
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      

Back to Subject List