/
Specifying the index of the C-formatted parameter
GiD - The personal pre and post processor
Specifying the index of the C-formatted parameter
This format position specification also exists in C/C ++
For example:
sprintf(buf, "row=%2$i column=%3$i value=%1$lf",value,row,column);
Unfortunately it is not standard on all platforms, with MS Visual C ++ 6.0 for example it does not work, it would print this:
row=$i column=$i value=$lf
Therefore this indexed format should only be used in Tcl, but not in C / C ++.
Related content
Specifying the index of the tcl-formatted parameter
Specifying the index of the tcl-formatted parameter
More like this
*format, *intformat, *realformat
*format, *intformat, *realformat
More like this
Marking C/C++ code
Marking C/C++ code
More like this
GiD_fResultRange
GiD_fResultRange
More like this
Introduction
Introduction
More like this
Multi-line phrases
Multi-line phrases
More like this
COPYRIGHT © 2022 · GID · CIMNE