This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Printing name in Lcd

hi all....
This is Gaurav Kothari. I want a very small help from you. As i new to programming part, i started my new project of hello world. my lcd prints it perfectly But now i want my lcd to ask the name first and then to print hello and then the name entered. can anybody please me....

Parents
  • Do you have no access to books, or online resources, about C programming?

    So "too many parameters" suggests the function can print only ONE string at a time, no? You could look at the definition of the function too, if it's not clear from the documentation, or the error.

    {
      char string[64];
      sprintf(string, "Hello %s",name);
      printstring(string);
    }
    

Reply
  • Do you have no access to books, or online resources, about C programming?

    So "too many parameters" suggests the function can print only ONE string at a time, no? You could look at the definition of the function too, if it's not clear from the documentation, or the error.

    {
      char string[64];
      sprintf(string, "Hello %s",name);
      printstring(string);
    }
    

Children