VF_printVD_printVE_print
VCF_printVCD_printVCE_print
VI_printVBI_printVSI_printVLI_printVQI_print
VU_printVUB_printVUS_printVUL_printVUI_print
FunctionPrint a vector as ASCII numbers to stdout, assuming a linewidth of 80 characters.
Syntax C/C++#include <VFstd.h>
void VF_print( fVector X, ui size, unsigned nperline );
C++ VecObj#include <OptiVec.h>
void vector<T>::print( unsigned nperline );
Pascal/Delphiuses VFstd;
procedure VF_print( X:fVector; size:UIntSize; nperline:UInt );
Descriptionsize elements of X are printed to stdout, nperline in each line. The available linewidth is assumed to be 80 characters. Each line begins with the index of the first element printed into that line. The index is followed by a colon and by the requested nperline elements.

Cartesian complex numbers are printed in braces, with the real and imaginary parts separated by a komma: {Re, Im}. Polar complex numbers are also written in braces, with the Mag and Arg parts separated by an at-sign: {Mag @ Arg}.

In contrast to VF_cprint, no paging is performed.
The number of digits per element is determined by the available space, which depends in turn on nperline.

This family of functions is available under Windows only in connection with EasyWin, and should not be used within TurboVision programs.

Error handlingIf nperline exceeds the maximum number of entries possible within 80 characters, an error message "Cannot use requested format (too many entries per line)" is generated; in this case, the program chooses the maximum number nperline possible.
Return valuenone
See alsoVF_cprint,   VF_fprint,   VF_write,   VF_store,   printf (C/C++ only)

VectorLib Table of Contents  OptiVec home