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 ++.
COPYRIGHT © 2022 · GID · CIMNE