- 博客(4)
- 收藏
- 关注
转载 C++ std::chrono获取当前系统时间
#include <chrono>#include <ctime>#include <iostream>int main() { time_t tt = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now()); struct tm * ptminfo = local...
2019-09-27 15:09:51 1749
原创 Git failed with a fatal error. Authentication failed
Git failed with a fatal error. Authentication failed问题根源解决方案问题根源Windows凭证管理器保存的git账号凭证,即git密码错误解决方案逛了一下github,已经有人给出了解决方案:链接:具体做法:(windows10)1、打开windows控制面板->凭证管理器->windows凭证->找到git凭证...
2019-05-16 09:57:40 4358
转载 <cmath>中的atan和atan2
转载自:https://www.cnblogs.com/dutlei/archive/2013/01/14/2860332.htmlcmath中atan()和atan2()的用法在C语言的math.h或C++中的cmath中有两个求反正切的函数atan(double x)与atan2(double y,double x) 他们返回的值是弧度 要转化为角度再自己处理下。前者接受的是一个...
2018-10-30 15:28:30 855
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人