【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.1.7 printf
Contents
Description
Standard C printf function. Output will be the current output window, can be the Script Window, the output log or the labtalk console.
Syntax
int printf( LPCSTR lpcszFormat, ... )
Parameters
- lpcszFormat
- ...
Return
Examples
EX1
void printf_ex1() { double vv = cos(3.14); int nn = 45; string str = "Test"; printf("For str(%s) and nn=%d, vv=%f\n",str, nn, vv); }
Remark
See Also
Header to Include
origin.h