搜索资源列表
dayin
- 编写螺旋方阵。其中螺旋方阵形式如下: 1 12 11 10 2 13 16 9 3 14 15 8 4 5 6 7 设row,column分别代表行、列坐标,变量p从1到n2将p依次存入数组a[row][column]中,要确定row、colomn的变化情况。分析如下:引进变量k,初值为n。当数据存入到左下角或右上角时,k减1,这样可保证输出时方阵。引进变量t,初值为1,当数据存入到右下角时,令t改变符合,当存入到左上角时,t又改变符合,这样可保证赋值到正确的数组坐标
ColorPanel
- 由内到外螺旋旋转制作蜂巢 网上找了几个生成正六边形的代码基本上都由六边形的一个顶点开始计算下个顶点的位置,但是这样得到的正六边形不是很正。本代码得到正的蜂窝。-From the inside to the outside spiral rotation produced honeycomb online to find some code to generate a regular hexagon is basically by a vertex of the hexagonal calcu
haigui
- c++实现循环螺旋输出26个英文字母,思路很巧秒,很不错的资源-circulation spiral c++ output 26 letters of the alphabet, the very clever idea of seconds, a very good resource
Task1-Ball
- freefall and spiral ball in matlab 3d
daleidoscope
- 有外而内螺旋数组,可自定义方阵大小,亲测有效 采用读到文件末尾的模式 -Outer and inner spiral array, you can customize the size of the square, pro-test valid Mode using the read end of the file
