摘要: Yes. The same reason if you only ever read an argument you make the parameter const&. T // I'm copying this T& // I'm modifying this const T& // I'm r 阅读全文
posted @ 2020-02-14 10:43 zhanglinfengNEPDI 阅读(143) 评论(0) 推荐(0) 编辑
摘要: VS2019 auto str="123.4"; auto value=atof(str) ;//报错 auto value=atof(str.c_str()); //ok 阅读全文
posted @ 2020-02-07 12:59 zhanglinfengNEPDI 阅读(812) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.csdn.net/liyun211/article/details/48519857 using System;using System.Collections.Generic;using System.Linq;using System.Text;using S 阅读全文
posted @ 2019-10-29 13:49 zhanglinfengNEPDI 阅读(882) 评论(0) 推荐(0) 编辑