05 2018 档案

摘要:1.读取文件 FILE *file = fopen(file_path,"rb"); 2.获取文件大小 fseeko(file,0,SEEK_END); uint64_t file_size = ftello(file); fseeko(file,0,SEEK_SET); 3.读取文件 size_t 阅读全文
posted @ 2018-05-30 14:41 蓝天飞翔的白云 阅读(122) 评论(0) 推荐(0)
摘要:1.看是否rc.local 第一行如果是 #!/bin/sh -e 改成 #!/bin/bash sudo systemctl enable rc-local.service 2.看rc.local的权限 chmod a+x /etc/rc.local 阅读全文
posted @ 2018-05-08 15:19 蓝天飞翔的白云 阅读(2099) 评论(0) 推荐(1)
摘要:从Stack Overflow上找到的方法如下 在Settings->Terminal->Shell path 改成:cmd.exe "/K" "C:\Users\me\Miniconda3\Scripts\activate.bat" "C:\Users\me\Miniconda3" C:\User 阅读全文
posted @ 2018-05-06 16:02 蓝天飞翔的白云 阅读(3584) 评论(1) 推荐(0)