convert char** (c string array) to std::string[]

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2008
Posts: 11
Reputation: umen is an unknown quantity at this point 
Solved Threads: 0
umen umen is offline Offline
Newbie Poster

convert char** (c string array) to std::string[]

 
0
  #1
Nov 11th, 2008
Hello
is there fast way to convert c char** to std::string[] array without loop the char** ?
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,867
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 120
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: convert char** (c string array) to std::string[]

 
0
  #2
Nov 11th, 2008
No but you can write a class by inheriting string and implement it.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 2308 | Replies: 1
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC