TransWikia.com

А как сравнить два потока типа istringstream?

Stack Overflow на русском Asked on November 3, 2020

Имеются два потока типа istringstream. Как их сравнить?

One Answer

#include <sstream>

int main()
{
    std::istringstream a, b;
    a.str() == b.str();
}

Answered by dungeon master on November 3, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP