so I was wondering how to push int's into an array. In other languages that I learned, I can just call the push() method. But looking around, people say that I need to use priority_queue. What is it and can I use it in Allegro?
kylelyk
0
Newbie Poster
Recommended Answers
Jump to PostAllegro is a graphics library (so no).
Try the STL instead
http://www.cplusplus.com/reference/stl/vector/push_back/
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.