Possible Duplicate:
How to split a string in C++?
I have:
char[20] c = "@aaa,@bbb,@ccc";
and I need to get d such that:
d[0] ="@aaa"
d[1] ="@bbb"
d[2] ="@ccc"
is there a function that does that? or I should write the function manually?
thanks in advance :)