Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualApochPiQ

Posted 28 November 2012 - 05:53 PM

Alternative suggestion:

std::wostringstream complete;

for(const std::wstring& element : container_of_strings)

	 complete << element;

wcout << fieldTitle << L"	" << complete.str() << std::endl;



[edit] Oh, screw it. The long empty string should be an escaped t (for tab, as in the OP) but the forums keep unescaping it.

#3ApochPiQ

Posted 28 November 2012 - 05:52 PM

Alternative suggestion:

std::wostringstream complete;

for(const std::wstring& element : container_of_strings)

	 complete << element;

wcout << fieldTitle << L"	" << complete.str() << std::endl;

#2ApochPiQ

Posted 28 November 2012 - 05:51 PM

Alternative suggestion:

std::wostringstream complete;
for(const std::wstring& element : container_of_strings)
	 complete << element;
wcout << fieldTitle << L"\	" << complete.str() << std::endl;

#1ApochPiQ

Posted 28 November 2012 - 05:51 PM

Alternative suggestion:

std::wostringstream complete;
for(const std::wstring& element : container_of_strings)
     complete << element;
wcout << fieldTitle << L"	" << complete.str() << std::endl;

PARTNERS