Mail Archives: djgpp/1998/09/07/21:37:20
Thomas J. Hruska wrote:
> I was looking at RHIDE and DJGPP doesn't seem to support the struct
> keyword. Struct is an ANSI standard and is required pretty much for all
> compilers to have the feature.
DJGPP _fully_ supports struct. I don't know why you think it doesn't.
> Second, I am having a problem with the following lines of code under
> Borland Turbo C:
>
> struct extDate {
> unsigned char Month;
> unsigned char Day;
> unsigned int Year;
> long int Number;
> } IssueDate;
>
> void FunctionName(void)
> {
> struct extDate TempDate;
> <code>
> TempDate = {12, 23, 1993, 0};
Try this instead:
TempDate = (extDate){12,23,1993,0};
--
(\/) Endlisnis (\/)
s257m AT unb DOT ca
Endlisnis AT GeoCities DOT com
Endlis AT nbnet DOT nb DOT ca
- Raw text -