TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: BRYAN JOYCE
from: MATTHEW LAIRD
date: 1998-02-02 07:25:00
subject: Builder C++

 BJ>         struct Table
 BJ>         {
 BJ>            char Title[30];
 BJ>            char SubTitle[35];
 BJ>            char Info1[40];
 BJ>            char Info2[40];
 BJ>         };
I assume you instanciate this somewhere?  When you do is it with a pointer, 
or directly?  What you've done here is just make a prototype for the 
structure.
 BJ> Then.....
 BJ>         Table.Title=Edit1->Text;      (this line does not work  )
 BJ>                                       (neither does using strcpy)
Unless there's a copy constructor, you need to use strcpy in this case.  But 
the LValue probably means you haven't instanciated an instance of the 
structure in your code.
--- Maximus/NT 3.01b1
---------------
* Origin: LutherNet Christian BBS (1:153/7036)

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™.