11 2020 档案
摘要:1.类的定义 c的struct是在c的struct类型上,增加了成员函数 c的struct可将一个概念或实体的所有属性组合在一起,描述同一类对象的共同属性 c使struct不但包含数据,还包含函数用于访问或修改变量 #include <iostream> #include <cmath> using
阅读全文
摘要:1:c++头文件不必是.h结尾 2.c++可以使用namespace命名空间 namespace first{ int a; } namespace second{ double a; } int main(){ first::a = 2; second::a = 3.14159; } 通常有3种方
阅读全文
摘要:数量级5000条 <?php namespace app\admin\command; use think\console\Command; use think\console\Input; use think\console\Output; use app\admin\model\Model; u
阅读全文
摘要:·文件为5000行3列的xls文件。php版本为5.6 <?php namespace app\common\logic; use Exception; class Xls{ // 获取当前13位(毫秒级)时间戳 private static function getMs(){ list($msec
阅读全文
摘要:1、进入项目所在目录,右键,点击Git Bash Here 进入终端 2、讲目录初始化为一个Git项目 git init 执行完后会在目录中创建一个.git隐藏文件夹 3、添加忽略文件 touch .gitignore 3、将所有文件放进刚创建的本地git仓库 git add . 4、将添加的文件提
阅读全文

浙公网安备 33010602011771号