|
-
July 31st, 2011, 01:35 AM
#1
C++ 0x
I have a code written in C++ 0x. Since I am not familiar with C++ 0x, I am unable to understand the following lines.
int scene[M][N];
//Fill Scene array with values
Fill_Scene(scene);
typedef std: air<size_t,size_t>connect_line;
auto __greater = [&scene] (connect_line const& x, connect_line const& y)
{
return scene[x.first][x.second] > scene[y.first][y.second];
};
Please help me in me rewriting the code in a C++ version previous to 0x.
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
|