User profile: JLBorges

User info
User name:JLBorges
History
Joined:
Number of posts:11741
Latest posts:

Quickly way to push_back 1 to n to std::vector
[code]// https://www.boost.org/doc/libs/1_69_0/libs/iterator/doc/counting_iterator.html [b]const std...

assignment grading project problem
> Is there a reason why explicit cast should have been avoided in this case? No, an explicit cast w...

assignment grading project problem
> Why store values that are sure to be integers as double? Yes, favour integers; unlike floating v...

Best way to retrieve multiple variables from nested objects for other object?
> Here is a more detailed example, but it can only retrieve one house from one island: You could pr...

Best way to retrieve multiple variables from nested objects for other object?
> In an object oriented design, each object knows how to draw itself. > So all you have to do is te...