我有这个 p。
#include <iostream>
#include <string>
int main()
{
std::string st = ( = +"10");
std::cout<<st<<"-"<<st.c_str();
return 0;
}
你们期望的是哪类产出没有运行?
页: 1
I am running into such problems while using boost::spirit library and passing its output around as c-strings.
Am I missing something? I am using gcc 4.6.1 (ubuntu 10.10).