Код: Выделить всё
#include
#include
using std::string, std::cout, std::cin, std::getline;
int main()
{
string mainStr;
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78563236/a-strange-usage-case-of-bitwise-or-operator-why-doesnt-it-work-as-intended[/url]
Мобильная версия