This function is used to asynchronously read data into the specified streambuf until the streambuf's get area contains the specified delimiter.То есть функция читает данные до тех пор, пока в буфер не попадёт разделитель.
The asynchronous operation will continue until one of the following conditions is true:Операция продолжается, пока не выполнится одно из двух условий:
- The get area of the streambuf contains the specified delimiter.
- An error occurred.
done = false;
n = 10;
x = 0.6;
k = 1;
result = 0;
while (true) {
result += // здесь формула члена суммы
if (k < n) {
continue;
}
print x, n, result * sin(x / n);
result = 0;
k = 1;
n += 1;
if (n <= 15) {
continue;
}
n = 10;
x += 0.1;
if (x > 1.1) {
break;
}
}
}