digitalmars.D.learn - char* to string
- BLS (9/9) Nov 04 2009 HI,
- BLS (6/7) Nov 04 2009 better
- Lars T. Kyllingstad (8/16) Nov 05 2009 std.conv.to() is your friend. Man, I love that function!
HI, I would like to use some pbobos string based functions within an DLL. Unfortunately all I can do is to pass char* parameters from the callee side. Now I want to use f.i. std.regex export extern(windows) char* xxx() //Heck were is Jarret when I need him most ? D2,beside Björn
Nov 04 2009
On 05/11/2009 00:11, BLS wrote:char* xxx()better char* xxx(char* a, char* b) { string A = ???? }
Nov 04 2009
BLS wrote:On 05/11/2009 00:11, BLS wrote:std.conv.to() is your friend. Man, I love that function! import std.conv; char* xxx(char* a, char* b) { string A = to!string(a); } -Larschar* xxx()better char* xxx(char* a, char* b) { string A = ???? }
Nov 05 2009