Hi,
I am working on a bare board project for TWR-K60 board. Console IO component is added from the Processor Expert.When I use scanf to read a string, I am missing the first character in the string. But with gets() I am able to read string without any issues. What could be the possible issue ?
Source code is as simple as
| printf("Enter a String"); |
| scanf("%s", str); |
| printf("\nString : %s", str); |
Anybody had such a problem before ?
Best regards,
Renjith