GiD - The personal pre and post processor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »


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 ++.

  • No labels