Posted by Kspansel@xxx.xxx on 1999-10-26
yeah..this is possible. Try something like this.
struct LocalTime_t
{
//it looks like some sort of array
int MilitaryTime[24]; //??
};
struct GlobeTime_t
{
struct LocalTime_t LocalTime;
//other stuff
};
struct BigTime_t
{
GlobeTime_t GlobeTime;
//other stuff
} BigTime;
As for vc++ resources I'm not sure. I use borland..but you could try
microsoft.com, the developer section.
> E.g. : BigTime.GlobeTime.LocalTime.MilitaryTime[i]
>
> I was wondering if it is possible to setup a structure like the above...
> I am not aware of any way to do this, just because I haven't come across
> anything like it.. anyone have any suggestions? Oh yeah.. and if anyone
> could point me to a great resources for vc++ questions, I would be very
> grateful... (work is forcing me to learn visual.. bleck!)
> regards,
Previous post | Next post | Timeline | Home