Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: threeS on October 12, 2014, 09:19:07 pm

Title: pointer to char* array
Post by: threeS on October 12, 2014, 09:19:07 pm
Good day!

Can anybody help us how to convert
Quote
pointer to char* array
?

Thanks for the great help!

More Powers  :)
Title: Re: pointer to char* array
Post by: oBFusCATed on October 12, 2014, 09:35:13 pm
What? Your question is totally unclear...
Title: Re: pointer to char* array
Post by: threeS on October 12, 2014, 09:40:22 pm
Sorry for that., its somewhat like this: convert wxString to char *argv[]
Title: Re: pointer to char* array
Post by: Pecan on October 12, 2014, 09:42:27 pm
Search Results

    Converting everything to and from wxString

http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CB4QFjAA&url=http%3A%2F%2Fwiki.wxwidgets.org%2FConverting_everything_to_and_from_wxString&ei=c9k6VPeXGKSejAKErYGAAg&usg=AFQjCNFU3piDYrc33oJT9kSReqg2Ky2GUQ&bvm=bv.77161500,d.cGE&cad=rja
Title: Re: pointer to char* array
Post by: threeS on October 12, 2014, 10:03:20 pm
Great!
But what we're looking for is the conversion
Quote
wxString to char *argv[]
-> "argv[]"
and the
Quote
wxString to char*
from
Quote
http://wiki.wxwidgets.org/Converting_everything_to_and_from_wxString#wxString_to_char.2A
doesnt fit on what we're looking for.,  :(
Title: Re: pointer to char* array
Post by: oBFusCATed on October 13, 2014, 12:06:09 am
Still not clear what you want to achieve...
Title: Re: pointer to char* array
Post by: Alpha on October 13, 2014, 01:22:53 am
Is this (https://github.com/alpha0010/ClangLib/blob/v0.1/clangproxy.cpp#L618-L636) and this (https://github.com/alpha0010/ClangLib/blob/v0.1/clangproxy.cpp#L32) (follow the variable args) what you are looking for?