|
From: | Thomas Maeder |
Subject: | Re: How can I conver a char[x] to std::wstring |
Date: | Thu, 06 Oct 2005 22:39:36 +0200 |
User-agent: | Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
"jalkadir" <jalkadir@gosonic.ca> writes: > How can I conver a char[x] to std::wstring, for intance > time_t Time_t; > std::wstring Date; > time( &Time_t ); > Date = ctime( &Time_t ); > > or > strd::string wstr; > str = __FILE__; > > Isn't the conversion done automatically? No. What encoding should wstr and Date have?
[Prev in Thread] | Current Thread | [Next in Thread] |