Ahoj mam opet velmi trapny problem Procnejde toto?
#include <vector>
using namespace std;
class Vector {
public:
Vector();
vector<int> cislo;
};
Vector::Vector() {
cislo.reserve(5);
cislo[0]=5;
}
main() {
Vector vector;
return 0;
}
Predem dekuji za odpoved.