No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
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: …
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.
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.
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.
The End.
Terminator1337