would it make any difference if i use c-style functions to search an array or cstring?
-
To my understanding an array is similar to string which doesn't have '/0' byte set at the end.user963241– user9632412010-11-24 14:03:09 +00:00Commented Nov 24, 2010 at 14:03
-
1This question is extremely unclear. In C, there is no "string" datatype: all strings are always represented as pointer to NUL-terminated character sequences (arrays).unwind– unwind2010-11-24 14:05:00 +00:00Commented Nov 24, 2010 at 14:05
-
@ unwind I didn't mean std::string in c++. I meant cstring.user963241– user9632412010-11-24 14:12:58 +00:00Commented Nov 24, 2010 at 14:12
Add a comment
|