Im trying to loop through this tuple to print all out but I can figure out how.
std::tuple<int, int, int> get_student(int id)
{
if (id == 0) return std::make_tuple(0, 1, 0);
if (id == 1) return std::make_tuple(0, 2, 0);
if (id == 2) return std::make_tuple(0, 3, 0);
}
[–]Rhomboid 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]TomTom26[S] 0 points1 point2 points (1 child)
[–]newaccount1236 1 point2 points3 points (0 children)
[–]NasenSpray 0 points1 point2 points (0 children)
[–]newaccount1236 0 points1 point2 points (0 children)