TagLib::String to char?

Christian EJlertsen ce at entwined.dk
Thu Mar 27 16:35:12 CET 2008

Hello Everybody
I know this is a newbie coder question so i thank you for your patience 
in advance,
Is there any way to cast convert TagLib::String to a char, const char?
If so how could the below look if it should work?

char *buf2 = new char[tag->artist().length()];
 strcpy(buf2, tagCastedToChar);

Thank you in advance

More information about the taglib-devel mailing list