Re: Strings In United Bot -
26-05-2004
In general, it's almost ALWAYS better to use standard libraries for commonly used code (like Strings). Using the Standard Template Library (stl) means that you already have thousands of people testing out the available functions and you won't have to worry about finding and fixing bugs in your code.
You generally shouldn't re-invent the wheel unless you have a specific problem that hasn't been solved by someone else.
If you want to do this as an exercise for yourself, that's fine, but, I for one, would much rather use the stl string class for any string management code (since it's very stable and very efficient).
botman
|