wer234 cwx1 20139
asd223 cwx2 09678
sda232 cwx3 45674
ukh134 cwx4 23453
plo209 cwx5 09573
< /code>
Как я могу прочитать данные в три строковых массив?#include
#include
#include
#include
using namespace std;
int main(){
//load the text file and put it into a single string:
std::ifstream in("test.txt");
std::stringstream buffer;
buffer
Подробнее здесь: https://stackoverflow.com/questions/372 ... ray-string