input : transient.case output: transient_1.case, transient_2.case, transient_3.case ... ************transient.case FORMATtype: ensight goldGEOMETRYmodel: solution.pval.unsteady_1.geoVARIABLEscalar per node: density   solution.pval.unsteady_*.densityv…
http://www.chami.com/tips/delphi/112696D.html Sometimes it's necessary to pass undefined number of [different type] variables to a function -- look at Format() function in Delphi and *printf() functions in C/C++ for example. Once you analyze the foll…
A parameter of a function (normally the last one) may be marked with vararg modifier: fun <T> asList(vararg ts: T): List<T> { val result = ArrayList<T>() for (t in ts) // ts is an Array result.add(t) return result } allowing a variable n…
Sometimes when you intall vmwaretools there will be some problems such as "Unable to copy the source file ./installer/services.sh to the destination file /etc/vmware-tools." I tell you how to solves it. At beginning I want find solved ways on In…
错误现象: 在ORACLE 10g下为表空间IGNITE_EGVSQL01增加数据文件时,报如下错误: SQL> ALTER TABLESPACE IGNITE_EGVSQL01      ADD DATAFILE '/oradata/ignt/ignite_egvsql01_d02.dbf' SIZE 4096M      AUTOEXTEND OFF; ERROR at line 1: ORA-19502: write error on file "/oradata/ignt/igni…
类似的错误信息如下 ERROR 1231 (42000) at line 10370 in file: '/root/sql/ultrax_170322.dmp': Variable 'time_zone' can't be set to the value of 'NULL' ERROR 1231 (42000) at line 10372 in file: '/root/sql/ultrax_170322.dmp': Variable 'sql_mode' can't be set to t…
lua变长参数 function add ( ... ) for i, v in ipairs{...} do print(i, ' ', v) end end add(1, 2, 'sdf') lua 通过{...}来表示接收到的变长参数 上例输出结果: 1 1 2 2 3 sdf…
可变参数宏(Variadic Macro) 在1999年的ISO C标准中,可以声明一个像函数一样接受可变参数的宏.定义这种宏的语法与函数的定义相似.这是一个例子: #define debug(format, ...) fprintf (stderr, format, __VA_ARGS__) 其中,‘…’ 是可变参数.在宏的声明中,它代表0个或更多个tokens和任意数量的逗号,直到遇到闭合括号来结束声明.这些tokens的集合替代出现在宏体中任意位置的标识符__VA_ARGS__.可查看CP…
继上一篇的简略的说明 EmWebAdmin 的地址以后下载,生成之后,这一篇讲一下该模板的生成流程 // 上一篇地址: http://www.cnblogs.com/chenfulin5/p/6856379.html EmWebAdmin Makefile 1 all: 2 @chmod +x templates/bin/emWebAdmin 3 @templates/bin/emWebAdmin generate 4 5 clean: 6 @chmod +x templates/bin/emW…
Ref: MSDN (https://docs.microsoft.com/en-us/previous-versions/visualstudio/visual-studio-2010/0c6xyb66(v=vs.100) ) Difference between Build action content and 'Copy to output directory' in Visual Studio Question: In my project in Visual Studio, I hav…