So I have written that code, but the values that variable temp is getting are only the characters a, b, c, d, e, f. I want it to take a value of ' ' (space) as well. Is there any way to do that?Code:int main() { string input = "abc def"; stringstream buffer(input); char temp; int i = 0; char something[20]; while(buffer >> temp) { something[i] = temp; i++; } }