sherazi
Banned

- Joined
- Feb 15, 2010
- Messages
- 388
- Helped
- 61
- Reputation
- 126
- Reaction score
- 61
- Trophy points
- 1,318
- Location
- Muscat, Oman, Oman
- Activity points
- 0
i am getting errors for using string compare functions of string.h
i get this error
how can i solve this, I am using avrstudio5 and my target is Atmega644
Code:
char m1[9]="00000000\0";
unsigned char numb[9]="00000000\0";
if (strncmp(m1,numb1,8)==0)
i get this error
Code:
Error 8 expected 'const char *' but argument is of type 'unsigned char *'