+ 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)

24th Jan 2018, 1:58 PM
shobhit
shobhit - avatar
1 Réponse
+ 1
Can you show the code or any example? Or have you found a solution?
3rd Feb 2018, 8:17 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar