Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jeshuem

Pages: [1]
1
Graphics / Re: binary '<' : no operator
« on: May 27, 2015, 07:03:23 pm »
Thanks jesper.
I need an associative container because i need the type of tile (int) to draw different textures.

I think it could be vice versa, Thanks Nexus.

EDIT:
They can't be vice versa because the int can be repeated

2
Graphics / binary '<' : no operator
« on: May 27, 2015, 06:12:46 pm »
Hi guys.

Im using the library <map> and give me errors here:

typedef pair<sf::VertexArray, int> PairTile;

        map<sf::VertexArray, int> MapTile;
 

I have no idea why  :-[.

Sorry for my bad english.

The complete error is it:

Error   5   error C2678: binary '<' : no operator found which takes a left-hand operand of type 'const sf::VertexArray' (or there is no acceptable conversion)   c:\program files (x86)\microsoft visual studio 12.0\vc\include\xstddef   193

Pages: [1]
anything