🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.programming
1 messages
1 total messages Started by JP Wed, 14 Feb 2001 15:11
Ansistring and C string in Borland C++ builder 4
#27
Author: JP
Date: Wed, 14 Feb 2001 15:11
15 lines
1625 bytes
Hello,

I'm trying to do the following in Borland C++ builder :

char iets[15];
iets[] = ((Edit_ServerIP -> Text).c_str());

where Edit_ServerIP is an TEdit component. In other words : I'm trying to
convert an Ansistring from an TEdit to a null-terminated character array.
But I can't seem to get this working without compiler-errors. How can I get
this working?

Thanks a lot,

JP
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads