toms452, a Fortran77 code which implements ACM toms algorithm 452, for generating, one at a time, the combinations of M things out of N.
The text of many ACM TOMS algorithms is available online through ACM: https://www.acm.org/pubs/calgo or NETLIB: https://www.netlib.org/toms/index.html.
The information on this web page is distributed under the MIT license.
toms452 is available in a Fortran77 version.
combo, a Fortran90 library which contains several routines for generating, ranking, or randomly selecting a combination.
SUBSET, a Fortran90 library which contains many routines for generating, ranking, or randomly selecting a combination.