Structure IN a class?

Hi people.. i was just wondering is it possible to have a structure in a class?
private:
typedef struct
{
}
? Thanks
[155 byte] By [UnfitElf] at [2007-11-19 18:41:38]
# 1 Re: Structure IN a class?
yes.... :thumb:
sreehari at 2007-11-10 23:45:47 >
# 2 Re: Structure IN a class?
BTW, unlike C, you don't need to declare typedef for struct declaration in C++.

struct MyStruct
{
};
Kheun at 2007-11-10 23:46:47 >
# 3 Re: Structure IN a class?
just go through this discussion. could help ya
conceptual difference between 'struct' and 'class' ? (http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/browse_frm/thread/ac0d413af057bbf6/bfcd85ecd5de4862?q=structure+class+member+group:microsoft.public.dotnet*&rnum=1&hl=en#bfcd85ecd5de4862)
sreehari at 2007-11-10 23:47:54 >
# 4 Re: Structure IN a class?
Thanks very much for the replys =) all sorted
UnfitElf at 2007-11-10 23:48:48 >