![]() |
Creating a map of Mix_Music? | ![]() |
![]() |
Creating a map of Mix_Music? | ![]() |
Jonas Kulla
Guest
![]() |
![]() |
2014-04-14 0:38 GMT+02:00 Plazmotech:
[/quote] Shouldn't that be std::map<int, Mix_Music*>; ? I can't see the template args in your code. |
||||||||||||
|
![]() |
![]() |
mr_tawan
![]() |
![]() |
Code looks good to me. What's your compiler ?
|
||||||||||
|
![]() |
![]() |
Plazmotech
![]() |
![]() |
I'm using XCode 4 |
||||||||||||
|
![]() |
Creating a map of Mix_Music? | ![]() |
Juan Manuel Borges Caño
Guest
![]() |
![]() |
That's not how you use a templated type.
More for instance, on: http://www.cprogramming.com/tutorial/stl/stlmap.html On Tue, Apr 15, 2014 at 1:58 AM, Plazmotech wrote:
|
||||||||||||||||||
|