Hi,
My problem is about a casting from char* to std::string and back. I know how to do it,using c_str().
In my program I read sound in a char* and then I have to send it to other PC with a std::string. When I receive the std::string in the second PC I have to come back to char* in order to play it.
The problem is that when I play the sound in the second PC there is a lot of noise.
Is there any other possibility to do this casting without losses?.
Thanks a lot.

Reply With Quote