Is this possible?
Code:typedef std::vector<vector<Car>> Category; Category groupList; vector<Car> cars; groupList.push_back(cars);
Is this possible?
Code:typedef std::vector<vector<Car>> Category; Category groupList; vector<Car> cars; groupList.push_back(cars);
Yes, but you need to separate the >> by a space so that it is parsed correctly.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law