Click here to Skip to main content
15,920,896 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
Questionwhat is the problem? Pin
mcnu15-Sep-05 16:20
mcnu15-Sep-05 16:20 
QuestionGraphic in linux Pin
Ta Xuan Hung15-Sep-05 15:19
Ta Xuan Hung15-Sep-05 15:19 
AnswerRe: Graphic in linux Pin
Christian Graus15-Sep-05 15:38
protectorChristian Graus15-Sep-05 15:38 
AnswerRe: Graphic in linux Pin
Christian Graus15-Sep-05 15:51
protectorChristian Graus15-Sep-05 15:51 
Questionchar array structures Pin
charstock15-Sep-05 14:58
charstock15-Sep-05 14:58 
AnswerRe: char array structures Pin
Christian Graus15-Sep-05 15:36
protectorChristian Graus15-Sep-05 15:36 
GeneralRe: char array structures Pin
charstock16-Sep-05 3:00
charstock16-Sep-05 3:00 
GeneralRe: char array structures Pin
Achim Klein17-Sep-05 16:43
Achim Klein17-Sep-05 16:43 
Hi,

std::string implements basic_string& operator=(const E *s).

So, you could add a conversion-constructor like this one:
struct Strings
{
   // add a conversion-constructor
   Strings(const Carrays& ToCopy);

   std::string field1;
   ...
   std::string field100;
}

And use the assignment operator to initialize your new fields:
Strings::Strings(const Carrays& ToCopy)
{
   field1 = ToCopy.field1;
   ...
   field100 = ToCopy.field100;
}


Regards
Achim Klein


We can do no great things, only small things with great love. - Mother Theresa
AnswerRe: char array structures Pin
Johann Gerell17-Sep-05 23:25
Johann Gerell17-Sep-05 23:25 
Questiondrawing tools problem using mfc.net Pin
maktamcun14-Sep-05 22:59
maktamcun14-Sep-05 22:59 
AnswerRe: drawing tools problem using mfc.net Pin
toxcct15-Sep-05 3:17
toxcct15-Sep-05 3:17 
GeneralRe: drawing tools problem using mfc.net Pin
Judah Gabriel Himango16-Sep-05 8:21
sponsorJudah Gabriel Himango16-Sep-05 8:21 
AnswerRe: drawing tools problem using mfc.net Pin
Christian Graus15-Sep-05 11:32
protectorChristian Graus15-Sep-05 11:32 
GeneralRe: drawing tools problem using mfc.net Pin
maktamcun16-Sep-05 16:22
maktamcun16-Sep-05 16:22 
GeneralRe: drawing tools problem using mfc.net Pin
Christian Graus18-Sep-05 11:02
protectorChristian Graus18-Sep-05 11:02 
Questionoperator '*' Pin
LiYS14-Sep-05 22:26
LiYS14-Sep-05 22:26 
AnswerRe: operator '*' Pin
prasad_som14-Sep-05 23:18
prasad_som14-Sep-05 23:18 
GeneralRe: operator '*' Pin
LiYS14-Sep-05 23:50
LiYS14-Sep-05 23:50 
GeneralRe: operator '*' Pin
prasad_som15-Sep-05 0:19
prasad_som15-Sep-05 0:19 
GeneralRe: operator '*' Pin
bugDanny15-Sep-05 8:11
bugDanny15-Sep-05 8:11 
AnswerRe: operator '*' Pin
prasad_som15-Sep-05 18:48
prasad_som15-Sep-05 18:48 
GeneralRe: operator '*' Pin
bugDanny16-Sep-05 2:50
bugDanny16-Sep-05 2:50 
GeneralRe: operator '*' Pin
toxcct15-Sep-05 20:56
toxcct15-Sep-05 20:56 
QuestionNative vs Managed Pin
smch14-Sep-05 20:37
smch14-Sep-05 20:37 
AnswerRe: Native vs Managed Pin
Christian Graus15-Sep-05 11:33
protectorChristian Graus15-Sep-05 11:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.