Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~1K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for Terminator1337

Hi there, I'm encountering an error when I'm trying to make a EntityManager for an Entity class. My problem arises when I'm trying to return the second value of a map (data). Here's my code: EntityManager.hpp: #include <iostream> #include <SFML/Graphics.hpp> #include <map> #include <memory> #include "CEntity.hpp" class CEntityManager { public: …

Member Avatar for Terminator1337
0
201
Member Avatar for MasterHacker110

I might see your problem. In the last code segment, you have a while loop that's constantly getting the line. Comment that part out and see if it crashes still. Also, using #define is bad because it does not obey scope, and isn't type safe. Use consts.

Member Avatar for Moschops
0
446
Member Avatar for CutP

I'm not really sure of what you're asking. First of all that code is cryptic and you're not really saying what is the problem. I'm not going to write code for you.

Member Avatar for deceptikon
0
294
Member Avatar for wilsonz91

It looks like an IDE or compiler side problem to me. Try re-downloading and installing QT. Post again if you have any further questions.

Member Avatar for Terminator1337
0
558

The End.