TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ROBERT LA FERTE
from: BRYAN JOYCE
date: 1998-02-04 16:03:00
subject: Builder C++

On (02 Feb 98) Robert La Ferte wrote to Bryan Joyce...
 BJ> I know that the editbox contains an ANSI string, but don't know how to
 BJ> convert it to my table structure chars.
 RL> I don't have it on this machine, but if I remember well:
 RL>         strncpy(Table.Title, Edit1->Text.c_str(), sizeof(Table.Title));
 RL> should work quite well...  don't forget that the 'Text' member of Edit1
 RL> is a 'AnsiString' class, thus requires a conversion to be used like a
 RL> 'normal' C null-terminated char array.
It works great!  Thanks.  My college project had come to a standstill
cause none of the tutors had ever used Builder and had no info on it.
Can you recomend a good book on it?
--- PPoint 1.88
---------------
* Origin: You Do The Best With What Ya Got! (2:258/3.21)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.