AnswerBun.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!

Related Questions

Бот телеграм на вебхуке

1  Asked on February 19, 2021 by sova-kefirova

     

Query failed: ERROR: invalid input syntax for type json

1  Asked on February 18, 2021 by jamesjgoodwin

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP