M
Michael
Hi,
I have the following in some code:
char temp[MAX_INPUT_LENGTH];
.....stuff....
for(i = 0; i < MAX_INPUT_LENGTH; i++){
if(temp == ":"){
...stuff....
}
but when I have a string with ':' in it, the 'if' doesn't match. Why?
Thanks for your help
Michael
I have the following in some code:
char temp[MAX_INPUT_LENGTH];
.....stuff....
for(i = 0; i < MAX_INPUT_LENGTH; i++){
if(temp == ":"){
...stuff....
}
but when I have a string with ':' in it, the 'if' doesn't match. Why?
Thanks for your help
Michael