[The development tool]_[vs2010]_[vs2010 a bug-when using StringStream]

Source: Internet
Author: User


1. After registration Microsfot want to submit a bug, found that there is this hint, so can not submit the bug, have to submit the submission.

You is not a authorized to submit the feedback for this connection.


2. VS2010 SP1 Bug, temp is empty.


TEST (test_aa,stringstream) {std::stringstream ss;ss << 0;const char* temp = Ss.str (). C_STR (); Std::cout << " Temp: "<< temp << Std::endl;}

Here I use the temp output of the VS2010 SP1 to be empty, g++ the normal output is 0.

VS2010:

Temp



Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

[The development tool]_[vs2010]_[vs2010 a bug-when using StringStream]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.