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
~3K People Reached
Favorite Tags
c++ x 5
xml x 2
Member Avatar for tron_thomas

I have a situation where there are numerous objects that need to wander about on a 2D plane. The objects should avoid certain areas in the plane and should also eventually make their way toward a desired goal destination. Where can I find resources that would help with implementing this …

Member Avatar for ajst
0
72
Member Avatar for tron_thomas

I am somewhat new to XSLT, and I have a situation where depending on certain conditions I want to convert XML like: <SomeElement> <ChildElement/> <ChildElement/> <ChildElement/> ... </SomeElement> to: <SomeElement value="something"> <ChildElement/> <ChildElement/> <ChildElement/> ... </SomeElement> I don't want to specify the child elements in the template that modifies the …

Member Avatar for tron_thomas
0
2K
Member Avatar for tron_thomas

I have a situation whereby I need to copy the contents of an STL vector into a memory buffer provided by the system. One might think that given: [CODE]std::vector<ObjectType> source; // Initalized to hold the objects ObjectType* target = reinterpret_cast<ObjectType*>(buffer); // Points to system provided memory buffer[/CODE] someone could do …

Member Avatar for tron_thomas
0
571
Member Avatar for tron_thomas

Expectations are this code: [CODE]#include <iostream> #include <limits> #include <stdexcept> using std::clog; namespace{ class FloatValue { public: FloatValue() : m_amount(0.0f) { clog << "Creating default floating point value.\n"; } explicit FloatValue(float amount) : m_amount(amount) { clog << "Creating floating point value with amount " << m_amount << ".\n"; if(std::numeric_limits<float>::infinity() == …

Member Avatar for ArkM
0
153