cout to wcout

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SwissProgrammer
    New Member
    • Jun 2020
    • 220

    cout to wcout

    // The next line was OK until I used w of std::wcout
    std::wcout << "bitset<8>( data[4]).to_string() = [" << bitset<8>(data[4]).to_string() << "] binary\n\n\n";
    // error: no match for 'operator<<' (operand types are 'std::basic_ost ream<wchar_t>' and 'std::__cxx11:: basic_string<ch ar>')
Working...