|
-
March 24th, 2011, 10:52 AM
#1
Problem using a function from other file
hello Every 1
visual studio 2010.............
c++
i have a problem , i need to use a function named getentityposition which is in some file for example named AgentActioncomponent ,when i want to call this function i am available with AgentActioncomponent and even getentityposition...i call it in this way
******************************************************************
Vec3f currentPos = AgentActionComponent::getEntityPosition(m_characterID2);
******************************************************************
but it doesnt recognize AgentActionComponent .. when i take my cursor to AgentActionComponent it says non static member reference
must be relative to a specific object ....
does any body have any idea
Regards Imran Habib
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|