Very simple problem here, I just don't understand why this isn't working.
given that current_dir is:Code:if(current_dir[(strlen(current_dir) - 3)] == '.')
/cygdrive/c/dirent_tests/fssw.exe
the if statement should be true, right? No matter what I do it's always false, what's up?
-System_159