Код: Выделить всё
#include
using namespace std;
class Buffer {
public:
static const int BufferSize=5;
Buffer() {
for(this->index=0;this->indexindex+=1) {
BufArr[this->index]=0;
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79283790/why-is-the-following-code-going-into-an-infinite-loop[/url]
Мобильная версия