摘要: 参考:https://blog.csdn.net/TanJiaLiang_/article/details/83992337 有改动 C++提供了四个转换运算符: const_cast <new_type> (expression) static_cast <new_type> (expressio 阅读全文
posted @ 2020-02-19 10:15 我得去图书馆了 阅读(869) 评论(0) 推荐(0) 编辑
摘要: 1、获取程序运行时间-linux shell脚本 1 #!/bin/bash 2 3 start=$(date +%s) 4 5 sleep 5; 6 7 end=$(date +%s) 8 take=$(( end - start )) 9 echo Time taken to execute c 阅读全文
posted @ 2020-02-19 09:35 我得去图书馆了 阅读(154) 评论(0) 推荐(0) 编辑