|
typedef struct _xxx
{
char chartest[];
} xxx, * stxxx;
xxx * teststruct;
AnsiString asTmp = "1234567890";
void __fastcall TForm1::Button1Click(TObject *Sender)
{
teststruct = new xxx;
teststruct->chartest = "우리는역사적"; --->문제의 라인
delete teststruct;
teststruct = NULL;
}
=====================
teststruct구조체 안의 chartest[]에 대해서 어케 써줘야.. 잘 썼다는 소문이 날런지..
여러방법을 써봐도.. 도저히... 앙... 도움좀 부탁드릴께요
|