Re: defining a structure in vc++
- From: "sayu" <sayu@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 9 Sep 2005 21:53:01 -0700
thanks,
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 class.how 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
>
.
- Follow-Ups:
- Re: defining a structure in vc++
- From: Ian Semmel
- Re: defining a structure in vc++
- References:
- defining a structure in vc++
- From: sayu
- Re: defining a structure in vc++
- From: Ian Semmel
- defining a structure in vc++
- Prev by Date: Re: EnableMenuItem not working
- Next by Date: Float Precision and Representing Money
- Previous by thread: Re: defining a structure in vc++
- Next by thread: Re: defining a structure in vc++
- Index(es):
Relevant Pages
|