Why Go's Declaration Syntax is better than C++?
摘要:【Why Go's Declaration Syntax is better than C++?】 Newcomers to Go wonder why the declaration syntax is different from the tradition established in th...
阅读全文
Clockwise/Spiral Rule
摘要:【Clockwise/Spiral Rule】 There is a technique known as the ``Clockwise/Spiral Rule''. (顺时针螺旋法则). There are three simple steps to follow:Starting with...
阅读全文
Lamda所有的Capture均是引用
摘要:【Lamda所有的Capture均是引用】 下面的程序,两个lambda 引用的实际上是同一个a、b。连int都能引用了,说明Lambda对所有类型都是以引用来处理。 1 int a = 0; 2 int b = 1; 3 Func exe = ()=>{ 4 ...
阅读全文
Application.streamingAssetsPath
摘要:【Application.streamingAssetsPath】 This API contains the path to the StreamingAssets folder (Read Only). If you have a "StreamingAssets" folder in th...
阅读全文
使用BMFont
摘要:【使用BMFont】参考1说明如何根据ttf字体生成fnt、png。参考2说明如何根据自定义图片生成fnt、png。分三步:1、Edit->Open Image Manager。导入需要的图片。2、Option->Export Option。设置配置选项。3、Option-> Save Bitmap...
阅读全文
常用的十八个希腊字母
摘要:【常用的十八个希腊字母】1、α,/'ælfə/,角度,系数,角加速度2、β,/'betə/,角度,系数3、γ,/ˈgama/,角度4、Δ,δ,/‘dεltə/,变化量,一元二次方程中的判别式5、ε,/'epsilon/,对数之基数6、ζ,/zita/,系数,方位角7、η,/ˈita/,效率8、θ,/...
阅读全文
范德蒙恒等式
摘要:【范德蒙恒等式】 甲班有个同学,乙班有个同学,从两个班中选出个一共有种不同的选法。而换一种思维方式从甲班中选取个同学,从乙班中选取个同学,共有种方法,而对所有的就是范德蒙恒等式。 下面的形式也叫范德蒙恒等式。是特殊形式。此形式中,k=n=m。济C(n,k) = C(n,n-k)。
阅读全文