Can anyone help with a Builder C++ problem? It seems quite simple, but
its causing me hassle and my tutors in college can't help. Trouble is,
I bought the student version and don't have any mannuls.
All I'm trying to do is dump the contents of an edit box into the field
of a table, but I get the compiler error that a Lvalue is needed.
Here is a simpleyfied example of my code:-
struct Table
{
char Title[30];
char SubTitle[35];
char Info1[40];
char Info2[40];
};
Then.....
Table.Title=Edit1->Text; (this line does not work )
(neither does using strcpy)
I know that the editbox contains an ANSI string, but don't know how to
convert it to my table structure chars.
It doesn't help matters that I don't have a Builder book, but neither
does the college.
--- PPoint 1.88
---------------
* Origin: You Do The Best With What Ya Got! (2:258/3.21)
|