Ok, I thought you could still access members. You can use any potential member you want with templates after all and you won't get an error until the code is generated.
The worst is when headers...
Type: Posts; User: RITZ
Ok, I thought you could still access members. You can use any potential member you want with templates after all and you won't get an error until the code is generated.
The worst is when headers...
What's wrong with that? I can't call a member function?
This I know. I'm not declaring any instance of the class.
I have a head ache. -.-
class ENTITY;
class UNIVERSE
{
public:
void insert_entity(ENTITY *entity)
{
m_entities.push_back(entity);
Hey Darryl. Who says it's a header? :P I am using std::list;
.... This is the dumbest thing I've done in a long time. Thanks Daved, I'm sure that is the problem.
class ENTITY
{
public:
..........
static list<ENTITY*> m_universe; // All existing entities.
ENTITY(unsigned int speed, double mass, double lift, double friction)
{
// Physical...
Broken API? O.o It isn't my socket...
I can't do that. It is a socket that I have no control over and I can't just close it.
Ok, then does anyone, have any suggestion on how to cancel a blocking call on a socket or thread?
Thanks
The documentation on this function says it cancels any blocking Winsock call in the current thread. How is it possible to call WSPCancelBlockingCall from the same thread if there is a blocking call...