Is it possible to put a const char* into a string stream?
I think it’s possible with the write() function in stringstream but I’m having trouble figuring out how to get the streamsize if i only know of the const char *.
Assuming size is my const char * variable:
stringstream s;
s.write(temp,size);
How do I get size? Thanks.
I tested it, and it works correctly…