Vector in Class

Правка en1, от CLICKHERE, 2020-05-28 15:43:45
#include <bits/stdc++.h>
using namespace std;

class a{
public:
	vector<int> arr(5);
};

int main() {
 a b;
}

why it is giving error at vector<int> arr(5);

Теги simple

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский CLICKHERE 2020-05-28 15:43:45 199 simple (published)