+ 1
i m using a deque of type struct in c++. Struct contains multiple variable, how could i add those variable in deque
my struct contains multiple variable. we use push_back or push_front() to add it to de-que, but how can insert different variables to struct any index? (because it depends on input)
1 ответ
+ 1
Can you show the code or any example? Or have you found a solution?