36 Reputation Points
Ranked #630
- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
73% Quality Score
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #44.2K
[B]What I want to code:[/B] 1.Given: -A range of integers iRange from 1 up to iRange -A desired number of combinations 2.Find the # of all possible combinations and print it out. For example: Given: iRange = 5 and n = 3 # of combinations = iRange! / ((iRange!-n!)*n!) = … | |
Hi mates I m new to C++ and I am trying to understand some code. ->Could one of u please explain me the three following lines of code: [code=c++] std::map<Pos3D,Object3D> Found3Dobjects; std::map<Pos3D,Object3D>::iterator Found3Dobjects_iter; typedef std::map<Pos3D,Object3D>::value_type Found3Dobjects_Pair; [/code] I read some tutorial for maps and got the idea. What I completely … |