PGMA_TO_PGMB is a C++ program which converts PGMA files to PGMB format.
Note that, to build the PGMA_TO_PGMB program, you also need the source code for the PGMA_IO and PGMB_IO libraries.
PGMA is a directory of sample PGMA files.
PGMA_IO is a C++ library of routines used by PGMA_TO_PGMB to read in the PGMA file.
PGMB is a directory of sample PGMB files.
PGMB_IO is a C++ library of routines used by PGMA_TO_PGMB to write out the PGMB file.
PGMB_TO_PGMA is an executable C++ program which converts a PGMB file to PGMA format.
You can go up one level to the C++ source codes.