string.h functions help plz :)
i'm currently trying to make an XOR encryption program with a slight twist, but the string.h functions are intent on preventing me from completing it.
I'm using Dev C++ cos i got it free with a book(i'm cheap...hey). Anyway my problems lie with strlen(); and strcat();
firstly strlen(); doesn't seem to count spaces :/ is there an alternative function at all?
secondly, strcat doesn't like me stickin a string on the end of itself. i.e strcat(string, string); is there an alternative to this?
thanks a lot for any help