The C String Library

© Guy Lecky-Thompson

Jun 23, 2006

The reasons behind, and uses for, the C string library, part of the standard libraries available with C compilers.


String handling is one of those computer programming chores that can be quite tricky. The problem is compounded by the fact that C does not have a set of built-in functions for dealing with strings.

Other languages, dating back to the original BASIC, manage, so why not C? In fact, the standard ANSI C implementation comes with a set of libraries - the so called standard libraries - and one such library contains functions for dealint with strings.

Since there are some functions which need a little discussion, I put together an article on the subject of the C string library. Not to be confused with more recent implementations which include the very implementation-specific CString class, this is a real back-to-basics C tutorial. Enjoy!

You can read the whole article here : Using the C String Library.


Post this Blog to facebook Add this Blog to del.icio.us! Digg this Blog furl this Blog Add this Blog to Reddit Add this Blog to Technorati Add this Blog to Newsvine Add this Blog to Windows Live Add this Blog to Yahoo Add this Blog to StumbleUpon Add this Blog to BlinkLists Add this Blog to Spurl Add this Blog to Google Add this Blog to Ask Add this Blog to Squidoo