strcmp Questions

7

When I make a call to the C string compare function like this: strcmp("time","time") It returns 0, which implies that the strings are not equal. Can anyone tell me why C implem...
Ainslie asked 27/2, 2009 at 16:22

5

Solved

I know this may be a totally newbie question (I haven't touched C in a long while), but can someone tell me why this isn't working? printf("Enter command: "); bzero(buffer,256); fgets(buffer,255,s...
Analcite asked 9/6, 2009 at 1:16

© 2022 - 2024 — McMap. All rights reserved.