Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » String to std::string conversion
Re: String to std::string conversion [message #32851 is a reply to message #32848] Wed, 15 June 2011 07:16 Go to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
Hello, Artem.

Try this:
std::string tempPath;
FileSel file;

String path;
if (file.ExecuteSelectDir())
	path = ~file;

// Conversion from UPP::String to const tchar * to std::string
if (!path.IsVoid())
	tempPath = ~path;
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MSVC 10 to Upp conversion
Next Topic: HttpClient and language choice (HTTP_ACCEPT_LANGUAGE)
Goto Forum:
  


Current Time: Sun Jun 02 04:56:32 CEST 2024

Total time taken to generate the page: 0.00933 seconds