VS2019配置matplotlib-cpp/plt绘制图片
全程参考博客
https://blog.csdn.net/aliexken/article/details/121673630
一些问题
①Git报错解决方案:
fatal: unable to access ‘https://github.com/…‘: OpenSSL SSL_read: Connection was reset
只需要将https换成git即可。
②The unauthenticated git protocol on port 9418 is no longer supported.的解决方法:
在①问题解决之后可能会出现。
请访问: http://dljz.nicethemes.cn/news/show-287814.html
使用git bush
string转为浮点数 可以使用dtof(char *s)函数,传入参数需要将string转换成为char *类型,使用c_str(string)可以完成转换,使用printf确定输出精度。