MF_cprint MD_cprint ME_cprint
MCF_cprint MCD_cprint MCE_cprint
Functionprint a matrix to the screen (DOS and Win32-console only; not for Visual C++)
Syntax C/C++#include <MFstd.h>
void MF_cprint( fMatrix MA, ui ht, ui len );
C++ MatObj#include <OptiVec.h>
void matrix<T>::cprint();
Pascal/Delphiuses MFstd;
procedure MF_cprint( MA:fMatrix; ht, len:UIntSize );
DescriptionThe matrix MA is printed to the screen. Each line corresponds to one row of the matrix. The lines are numbered. If necessary, rows are cut off at the screen boundaries. If there are more rows than screen lines, proper paging is applied.

This family of functions is available only for DOS and Win32 console applications with the Borland compilers. It should not be used within TurboVision DOS programs.

Error handlingIf the number of columns exceeds the maximum number of entries possible in the current text mode, an error message "Cannot use requested format (too many entries per line)!" is generated; in this case, the rows are truncated.
See alsoMF_fprint,   VF_cprint,   chapter 14

MatrixLib Table of Contents  OptiVec home