How do I return an deque array in c++?
private:
deque<int> iHouses[3];
public:
deque<int> getHouses();
//gives me an error when implementing the function of course - but where should I put the brackets?
deque<int> GameEngine::getHouses() {
return this->iHouses;
}
Just use the std::array