Вот минимальный воспроизводимый пример:
Код: Выделить всё
#include
#include
using namespace std;
int main()
{
vector prime(1);
prime[0].push_back(3);
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/70784558/error-request-for-member-push-back-in-which-is-of-non-class-type-int-whe[/url]
Мобильная версия