Forums > Dev

string libraries for C

Nov 21 2008 | 3:54 am

Okay, so it has been a LONG time since I worked in C, and I forgot about the joys of working with strings :) I have been so spoiled.

So, I ask the wonderful dev trust, are there any open source string implementations for C that you like to use? Or, is there something on OSX that is already there that I just don’t know about since it has really been THAT LONG!


Nov 21 2008 | 2:16 pm

Do you mean over and above string.h ?

Nov 21 2008 | 3:32 pm

Above and beyond the strlen, strcpy, strstr, etc. I looked through the only string.h that is found on my system and it seems to be actually wxString and is C++.

Truth of the matter is I could probably just create some helper functions to just reduce the amount of duplicate code I am writing, I’ve just gotten lazy :) Before I went down that path, I wanted to make sure others hadn’t already written something as I am always quick to make my own implementation for something and I am trying to get better at leveraging what exists in the open source world.

And it’s not that the C string handling is actually bad, just a little more tedious.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Dev