^ This.What kind of LCD are you using? Is it based on the HD44780 chip with a paralle 8-bit data, a Enable pin, and a RS pin?
Strings in C by design all end in a zero, so you can loop simply by using:MrChips I tried to write string functions but they don't work when executing the code
also I have copied functions from some websites but they all don't work with me I don't know why.
this is an example of what I have used :
void display(char *name)
{
int len,i;
len=strlen(name);
for(i=0;i<len;i++)
{
Also I have a question why we use pointers ,what is the purpose of pointer here ?
void display(char *name)
{
while(*name)
{
//output each character *name
name++; // increment the pointer
}
}