string2c.tcl

来自「柯老师网站上找到的」· TCL 代码 · 共 7 行

TCL
7
字号
# Define a C string variable of the name $name#  and set its value to what can be read from stdinset name [lindex $argv 0]gets stdin versionputs "char $name\[\] = \"$version\";"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?