Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Don't forget to read Tuesday's email newsletter for your chance to win a free copy of Construct 2!


Not dead...



C++0x as per VS2010

Posted by phantom, 13 March 2010 · 138 views

So, I've come to a conclusion about C++0x; I do love the lambda stuff [grin]


float multiplier[] = { -1, 1};
int i = 0;
int j = 0;
std::for_each(dataPoints.begin(), dataPoints.end(), [&](PointAffinity dataPoint)
{
pData.m_driveValue = bands[dataPoint.side][j] * multiplier[sourceSelect] * 7.0f;
pData.position =...





Recent Entries

Recent Comments

PARTNERS