STRING - CHAR

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
Dejvino
Posts: 3
Joined: 2004-04-02 10:34
Contact:

STRING - CHAR

Post by Dejvino » 2004-04-03 07:27

I am making some new items to DC.
And my little problem is in converting somehow stl string to normal char.
Can someone tell me the trick? :roll:

Big Muscle
Posts: 72
Joined: 2004-01-23 14:45

Post by Big Muscle » 2004-04-03 07:50

Use yourstring.c_str()

Dejvino
Posts: 3
Joined: 2004-04-02 10:34
Contact:

Post by Dejvino » 2004-04-03 09:49

It's working! Thanx! :o
Now I have DC with voice-output :lol:

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-04-03 10:06

Dejvino wrote:Now I have DC with voice-output :lol:
Sounds a bit like this old thread mentioning SmartButler

Dejvino
Posts: 3
Joined: 2004-04-02 10:34
Contact:

Post by Dejvino » 2004-04-03 10:22

Yes I know this program, I was reading messages on ICQ with it for a while but its better to read it on your own ;)
BTW I need czech language and that's very hard to find.

Locked