Good day. I study the SWITCH instruction. There was a problem, can not I force the compiler to read the space?
#include <iostream> int main() { char ab; std::cin >> ab; switch(ab) { case ' ': std::cout<<"space"<<std::endl; break; default: std::cout<<"Error"<<std::endl; break; } return 0; }