Re: defining a structure in vc++

but where should i write structure declarations,like what type of elements
it contatins
struct recrd
int n;
char c;
float f;
}if i want to insert this declaration in a do i go about it?
right click on class defination-add a member variable-?????
please help

"Ian Semmel" wrote:

> Well, define your structure and instant a global of it.
> MyGobalStruc mgs;
> mgs.v1 =
> mgs.v2 =
> etc
> sayu wrote:
> > hello,
> > I need to define a structure in vc++.I wanted to how it is possible
> > to define a structure whose variables are global

Relevant Pages