您当前的位置: 首页 > 

给定一个数值,计算最合适的行列数量的代码

柳鲲鹏 发布时间:2018-09-08 15:10:28 ,浏览量:0

  其实代码很简单,需要的可以参考下。

int   countToRowColumn(const int count, int* pRows, int* pColumns)
{
    //这两个变量可以省略。
    int rows    = 0;
    int columns = 0;

    if (count             
关注
打赏
1688896170
查看更多评论
0.0441s