Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~417 People Reached
Favorite Forums
Favorite Tags
c x 5
Member Avatar for kkanedaa

Hello, I want to know how to compare a string value which is input by the user. The following code gives an error saying "Result of comparison against string literal is unspecified (use strncmp instead)". [CODE] while(valid == 0) { printf("Yes-No-Question\n"); scanf("%s", &yesno); valid = 1; if(yesno != "yes" || …

Member Avatar for kkanedaa
0
417