That's exactly the sort of thing I was looking for. However when I tried that example in VC++ 2008 it comes up with undeclared identifier 'string'. I thought with string.h included string is type it would understand.:(
TFE http://totallyfreeenergy.zxq.net > You mean like this one? > > http://www.cplusplus.com/reference/string/operator+/ > > There is nothing like this in C, though, you are stuck with > null-terminated arrays and strcat(). Use C++ string if you want > something higher level and easier to use. > > -- Brett > ------------------------------------------------------------ > "In the rhythm of music a secret is hidden; > If I were to divulge it, it would overturn the world." > -- Jelaleddin Rumi >
