[开发工具]_[VS2010]_[vs2010的一个bug-使用stringstream时出现]
2017-04-17 17:03
344 查看
1. 注冊Microsfot之后想提交bug, 发现有这个提示, 所以提交不了bug, 有能提交的提交下吧.
2. VS2010 sp1的bug, temp为居然为空.
这里我使用vs2010 sp1的temp输出为空, g++就正常输出为0.
vs2010:
备注: 应该是微软实现的标准库的问题, 找时间研究下. 暂时解决的方法就是先把stringstream转换为string, 再从string调用c_str()就会有值.
You are not authorized to submit the feedback for this connection.
2. VS2010 sp1的bug, temp为居然为空.
TEST(test_Aa,StringStream) { std::stringstream ss; ss << 0; const char* temp = ss.str().c_str(); std::cout << "temp: " << temp << std::endl; }
这里我使用vs2010 sp1的temp输出为空, g++就正常输出为0.
vs2010:
temp:
备注: 应该是微软实现的标准库的问题, 找时间研究下. 暂时解决的方法就是先把stringstream转换为string, 再从string调用c_str()就会有值.
相关文章推荐
- [开发工具]_[VS2010]_[vs2010的一个bug-使用stringstream时出现]
- [开发工具]_[VS2010]_[vs2010的一个bug-使用stringstream时出现]
- 一个FLASH开发的数据统计工具 PHP可以使用
- 使用VS2010开发一个简单的自定义字段类型
- 使用必应查询接口开发搜索工具:反查一个IP上的旁站
- iOS开发笔记之三十一——日历NSCaledar使用过程中遇到的一个苹果系统bug
- 使用VS2010开发一个简单的自定义字段类型
- goagent -- 进行测试开发前必须配置完的一个工具,能正常使用搜索引擎google
- VS2010中项目名称尽量不要使用中文了! 有一个小bug
- 使用Eclipse开发工具如何解决Java Compiler中Annotation Processin不出现的问题
- 在虚拟机的XP中使用管道出现的问题,可能是一个BUG,先记录下来
- StrictMode个人使用笔记(StrictMode是一个开发工具)
- Gdiplus使用中出现的一个Bug记录
- VS2010开发工具使用技巧<之简单讲解>
- 一个使用vs2010进行winforms开发的小提示:打开窗体设计器发生错误的解决方法
- win7 下使用vb开发工具拖动控件时出现控件闪烁问题的解决方法
- 阿庆SQL智能查询分析器,使用delphi开发的一个数据库查询分析管理工具.分享给大家
- ie8开发人员工具无法使用,按f12任务栏里出现任务,但是窗体不弹出
- ios中的开发一些小工具(就是一个写UIView的自定义组件的脱离环境,可以重新使用)解耦
- VS2010bug 当生成或重新生成时,出现 不能复制文件(从obj\debug到bin\debug),文件正在被另一个进程使用的错误解决办法